X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FDefines.php;h=648e493b9156c17838d742ca167d59ea82f0f8af;hb=672808c859d570fc66f8cf927237ea3f1e78eb9e;hp=720e8d018d7315af67b6ac03bcc1d25c1ca7c162;hpb=1404a1f6bf6065035e74c287951b1c2126f11e55;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Defines.php b/includes/Defines.php index 720e8d018d..648e493b91 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 @@ -317,3 +313,14 @@ 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' ); +define( 'XML_DUMP_SCHEMA_VERSION_11', '0.11' ); +/**@}*/