X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2FDefines.php;h=d818226974f6bedc2ce143f2225a5f106b9958c1;hp=5f98b443c8d1975d72b6dcabf0d594344b7a158e;hb=f70d270877e489c3da4a127c467544e4fc915b08;hpb=b9789f9c562aecf08c1080430d6b85be06d4ae90 diff --git a/includes/Defines.php b/includes/Defines.php index 5f98b443c8..d818226974 100644 --- a/includes/Defines.php +++ b/includes/Defines.php @@ -30,10 +30,6 @@ use Wikimedia\Rdbms\IDatabase; */ # Obsolete aliases -/** - * @deprecated since 1.28, use DB_REPLICA instead - */ -define( 'DB_SLAVE', -1 ); /**@{ * Obsolete IDatabase::makeList() constants @@ -77,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 ); /**@}*/ /**@{ @@ -326,4 +306,5 @@ define( 'MIGRATION_NEW', 0x30000000 | SCHEMA_COMPAT_NEW ); * were already unsupported at the time these constants were introduced. */ define( 'XML_DUMP_SCHEMA_VERSION_10', '0.10' ); +define( 'XML_DUMP_SCHEMA_VERSION_11', '0.11' ); /**@}*/