Revert r22403 for the moment. Probably should ask Brion before changing dtds.
authorRobert Stojnić <rainman@users.mediawiki.org>
Thu, 24 May 2007 18:25:15 +0000 (18:25 +0000)
committerRobert Stojnić <rainman@users.mediawiki.org>
Thu, 24 May 2007 18:25:15 +0000 (18:25 +0000)
docs/export-0.3.xsd
includes/Export.php

index 71327f8..1e0b7c8 100644 (file)
@@ -92,9 +92,6 @@
                        
                        <!-- optional page ID number -->
                        <element name="id" type="positiveInteger" minOccurs="0"/>
-
-                       <!-- optional: number of pages that link to this page -->
-                       <element name="references" type="positiveInteger" minOccurs="0"/>
                        
                        <!-- comma-separated list of string tokens, if present -->
                        <element name="restrictions" type="string" minOccurs="0"/>
index e9e210d..9307795 100644 (file)
@@ -384,8 +384,6 @@ class XmlDumpWriter {
                $title = Title::makeTitle( $row->page_namespace, $row->page_title );
                $out .= '    ' . wfElementClean( 'title', array(), $title->getPrefixedText() ) . "\n";
                $out .= '    ' . wfElement( 'id', array(), strval( $row->page_id ) ) . "\n";
-               if(isset($row->num_page_ref))
-                       $out .= '    ' . wfElement( 'references', array(), strval( $row->num_page_ref ) ) . "\n";
                if( '' != $row->page_restrictions ) {
                        $out .= '    ' . wfElement( 'restrictions', array(),
                                strval( $row->page_restrictions ) ) . "\n";