X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FDefines.php;h=5f98b443c8d1975d72b6dcabf0d594344b7a158e;hb=449ad972241f8f53f3d5a9655951740ca1404c86;hp=72cddd2b7fe70bd6b2d2ab5fff729f60c0efc3be;hpb=e143c40fee88922eb393a88f94e60afc439d1f49;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Defines.php b/includes/Defines.php index 72cddd2b7f..5f98b443c8 100644 --- a/includes/Defines.php +++ b/includes/Defines.php @@ -31,7 +31,7 @@ use Wikimedia\Rdbms\IDatabase; # Obsolete aliases /** - * @deprecated since 1.28 + * @deprecated since 1.28, use DB_REPLICA instead */ define( 'DB_SLAVE', -1 ); @@ -59,7 +59,7 @@ define( 'NS_SPECIAL', -1 ); * Number 100 and beyond are reserved for custom namespaces; * DO NOT assign standard namespaces at 100 or beyond. * DO NOT Change integer values as they are most probably hardcoded everywhere - * see bug #696 which talked about that. + * see T2696 which talked about that. */ define( 'NS_MAIN', 0 ); define( 'NS_TALK', 1 ); @@ -317,3 +317,13 @@ define( 'MIGRATION_WRITE_BOTH', 0x10000000 | SCHEMA_COMPAT_READ_BOTH | SCHEMA_CO define( 'MIGRATION_WRITE_NEW', 0x20000000 | SCHEMA_COMPAT_READ_BOTH | SCHEMA_COMPAT_WRITE_NEW ); define( 'MIGRATION_NEW', 0x30000000 | SCHEMA_COMPAT_NEW ); /**@}*/ + +/**@{ + * XML dump schema versions, for use with XmlDumpWriter. + * See also the corresponding export-nnnn.xsd files in the docs directory, + * which are also listed at . + * Note that not all old schema versions are represented here, as several + * were already unsupported at the time these constants were introduced. + */ +define( 'XML_DUMP_SCHEMA_VERSION_10', '0.10' ); +/**@}*/