From: Robert Stojnić Date: Thu, 24 May 2007 17:42:32 +0000 (+0000) Subject: Paired commit with 22402. Makes necessary schema additions for the extra parameter... X-Git-Tag: 1.31.0-rc.0~52810 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dcompta/comptes/journal.php?a=commitdiff_plain;h=554937c777a61067a7b02a40e0a7a1bba572e6fc;p=lhc%2Fweb%2Fwiklou.git Paired commit with 22402. Makes necessary schema additions for the extra parameter needed for index updates. --- diff --git a/docs/export-0.3.xsd b/docs/export-0.3.xsd index 1e0b7c88f2..71327f8968 100644 --- a/docs/export-0.3.xsd +++ b/docs/export-0.3.xsd @@ -92,6 +92,9 @@ + + + diff --git a/includes/Export.php b/includes/Export.php index 9307795d8c..e9e210d663 100644 --- a/includes/Export.php +++ b/includes/Export.php @@ -384,6 +384,8 @@ 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";