New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SMW 3.0 Remove depreciated function, class task list #1014
Comments
'SEMANTIC_EXTENSION_TYPE'
@JeroenDeDauw @kghbln I made this into a 3.0 task list to get all old cruft removed otherwise trying to do this without a list will be pain. It further allows users/developers of extensions to track API changes more visibly before changes are made. If you find a comment in the source, just list them here for reference. |
Remove the
|
Here's additional things found by grepping the SMW source for "deprecated", "vanish" and "Vanish". At first I included the deprecation messages (many of which called for removal in 1.7, 1.10, etc.), but it grew rather long. So I boiled it down to the below list by topic. Hope you find it useful - I thought this might be a simple contribution to make. Classes
Class aliases:
Hooks
Member methods and variables
Other
|
Thanks all for compiling these lists. Really useful! |
Is there anything that will be a breaking change to the normal end user not yet in the list? So far I have just these things for my SMWCon presentation: MW compat break, PHP compat break, type NS removal, SemanticStatistics removal, maintenance script alias removal. |
See #1371 |
Some extensions rely on certain interfaces/static methods therefore only a major release can be used to break the interface (those that use Composer will unlikely break because dependencies need to be updated manually)
ID related changes
Others |
PRs up for all the things that remained |
List potential functions, classes, or marked
FIXED
comments to be removed with SMW 3.0 to make use of the semver "make incompatible API changes" [0] policy.use
(local vs$this
)List of
SMW_conceptCache.php
,SMW_dumpRDF.php
,SMW_refreshData.php
,SMW_setup.php
see Remove deprecated entry points for maintenance scripts #2789SMW\DIProperty
(seeSMW\PropertyRegistry
)SMW\DataValueFactory
(seeSMW\DataTypeRegistry
)Special:SemanticStatistics
(seeSpecial:Statistics
for providing the information)SMWDataValue::prepareValue
, see 2.3.0 release #1061 (comment)These are definitely not used by SMW itself:
ResultPrinter::m_params
ResultPrinter::textDisplayParameters
ResultPrinter::exportFormatParameters
SMWQueryProcessor::processFunctionParams
SMWQueryProcessor::getResultFromFunctionParams
SMWQueryProcessor::getResultFromQueryString
SMWResultArray::getNextObject
SMWJsonResultPrinter
class_aliasNotes
[0] http://semver.org/
The text was updated successfully, but these errors were encountered: