X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FDefines.php;h=5f98b443c8d1975d72b6dcabf0d594344b7a158e;hb=18dd14a05a1310dd8acae38bbf63fdc5f3213c2a;hp=5ab27cc067afd44dad650e59f5d067ef339dc842;hpb=6871d732a1614f6d3272478e0e02c353c0b10e46;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Defines.php b/includes/Defines.php index 5ab27cc067..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 ); @@ -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' ); +/**@}*/