From 38d580f8d74105155a32ee9934146e6bccd2f231 Mon Sep 17 00:00:00 2001 From: Reedy Date: Sun, 27 Jul 2014 18:52:24 +0100 Subject: [PATCH] Add comment about how to deploy new xml schema XSD files Change-Id: I5a20594befaa5afcab44960fd892c6f798c3d729 --- includes/Export.php | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/includes/Export.php b/includes/Export.php index e57fe7f2a7..fafc3fbeb0 100644 --- a/includes/Export.php +++ b/includes/Export.php @@ -507,8 +507,17 @@ class XmlDumpWriter { return Xml::element( 'mediawiki', array( 'xmlns' => "http://www.mediawiki.org/xml/export-$ver/", 'xmlns:xsi' => "http://www.w3.org/2001/XMLSchema-instance", + /* + * When a new version of the schema is created, it needs staging on mediawiki.org. + * This requires a change in the operations/mediawiki-config git repo. + * + * Create a changeset like https://gerrit.wikimedia.org/r/#/c/149643/ in which + * you copy in the new xsd file. + * + * After it is reviewed, merged and deployed (sync-docroot), the index.html needs purging. + * echo "http://www.mediawiki.org/xml/index.html" | mwscript purgeList.php --wiki=aawiki + */ 'xsi:schemaLocation' => "http://www.mediawiki.org/xml/export-$ver/ " . - #TODO: how do we get a new version up there? "http://www.mediawiki.org/xml/export-$ver.xsd", 'version' => $ver, 'xml:lang' => $wgLanguageCode ), -- 2.20.1