Make the XML dump schema version configurable.
[lhc/web/wiklou.git] / includes / export / XmlDumpWriter.php
index fbc4b0d..3c0b569 100644 (file)
@@ -30,6 +30,13 @@ use MediaWiki\Storage\SqlBlobStore;
  * @ingroup Dump
  */
 class XmlDumpWriter {
+       /**
+        * @var string[] the schema versions supported for output
+        * @final
+        */
+       public static $supportedSchemas = [
+               XML_DUMP_SCHEMA_VERSION_10,
+       ];
 
        /**
         * Title of the currently processed page