X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FDefines.php;h=e5cd5ed64d17e6f3775933af27e4d52e1a9a3743;hb=7426d04a703580552fe27d06d3566f1ae63ae92f;hp=5ab27cc067afd44dad650e59f5d067ef339dc842;hpb=6ac8c496d16c1f88d1b8b4cf449085301ddefdce;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Defines.php b/includes/Defines.php index 5ab27cc067..e5cd5ed64d 100644 --- a/includes/Defines.php +++ b/includes/Defines.php @@ -30,10 +30,6 @@ use Wikimedia\Rdbms\IDatabase; */ # Obsolete aliases -/** - * @deprecated since 1.28 - */ -define( 'DB_SLAVE', -1 ); /**@{ * Obsolete IDatabase::makeList() constants @@ -317,3 +313,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' ); +/**@}*/