Drop NS_IMAGE and NS_IMAGE_TALK, deprecated in 1.14
Change-Id: Id980c3d9bbadae219181b07f22aa58cbc2efbdc6
This commit is contained in:
parent
18b9a042dd
commit
f70d270877
2 changed files with 2 additions and 16 deletions
|
|
@ -222,6 +222,8 @@ because of Phabricator reports.
|
|||
specified, deprecated in 1.30, have been removed.
|
||||
* BufferingStatsdDataFactory::getBuffer(), deprecated in 1.30, has been removed.
|
||||
* The constant DB_SLAVE, deprecated in 1.28, has been removed. Use DB_REPLICA.
|
||||
* The constants NS_IMAGE and NS_IMAGE_TALK, deprecated in 1.14, have been
|
||||
removed. Use NS_FILE and NS_FILE_TALK respectively.
|
||||
* Replacer, DoubleReplacer, HashtableReplacer and RegexlikeReplacer
|
||||
(deprecated in 1.32) have been removed. Closures should be used instead.
|
||||
* OutputPage::addWikiText(), ::addWikiTextWithTitle(), ::addWikiTextTitleTidy(),
|
||||
|
|
|
|||
|
|
@ -73,22 +73,6 @@ define( 'NS_HELP', 12 );
|
|||
define( 'NS_HELP_TALK', 13 );
|
||||
define( 'NS_CATEGORY', 14 );
|
||||
define( 'NS_CATEGORY_TALK', 15 );
|
||||
|
||||
/**
|
||||
* NS_IMAGE and NS_IMAGE_TALK are the pre-v1.14 names for NS_FILE and
|
||||
* NS_FILE_TALK respectively, and are kept for compatibility.
|
||||
*
|
||||
* When writing code that should be compatible with older MediaWiki
|
||||
* versions, either stick to the old names or define the new constants
|
||||
* yourself, if they're not defined already.
|
||||
*
|
||||
* @deprecated since 1.14
|
||||
*/
|
||||
define( 'NS_IMAGE', NS_FILE );
|
||||
/**
|
||||
* @deprecated since 1.14
|
||||
*/
|
||||
define( 'NS_IMAGE_TALK', NS_FILE_TALK );
|
||||
/**@}*/
|
||||
|
||||
/**@{
|
||||
|
|
|
|||
Loading…
Reference in a new issue