(bug 35264) Wrong type used for <ns> in export.xsd
authorMormegil <mormegil@centrum.cz>
Thu, 31 May 2012 17:16:41 +0000 (19:16 +0200)
committerumherirrender <umherirrender_de.wp@web.de>
Thu, 31 May 2012 17:16:41 +0000 (19:16 +0200)
Change-Id: I6d5a399d3fde4d70a8814c4f8d107765c8e3da96

RELEASE-NOTES-1.20
docs/export-0.7.xsd

index b5e7cce..f034999 100644 (file)
@@ -114,6 +114,7 @@ upgrade PHP if you have not done so prior to upgrading MediaWiki.
 * (bug 36537) Rename wfArrayToCGI to wfArrayToCgi for consistency with wfCgiToArray.
 * (bug 25946) The message on the top of Special:RecentChanges is now displayed
   in user language instead of content language
+* (bug 35264) Wrong type used for <ns> in export.xsd
 
 === API changes in 1.20 ===
 * (bug 34316) Add ability to retrieve maximum upload size from MediaWiki API.
index 1871a65..c2656a3 100644 (file)
@@ -20,6 +20,7 @@
 
        Version 0.7 adds a unique identity constraint for both page and
        revision identifiers. See also bug 4220.
+       Fix type for <ns> from "positiveInteger" to "nonNegativeInteger" to allow 0
 
        The canonical URL to the schema document is:
        http://www.mediawiki.org/xml/export-0.7.xsd
                        <element name="title" type="string"/>
 
                        <!-- Namespace in canonical form -->
-                       <element name="ns" type="positiveInteger"/>
+                       <element name="ns" type="nonNegativeInteger"/>
 
                        <!-- optional page ID number -->
                        <element name="id" type="positiveInteger" minOccurs="0"/>