From 554937c777a61067a7b02a40e0a7a1bba572e6fc Mon Sep 17 00:00:00 2001 From: =?utf8?q?Robert=20Stojni=C4=87?= Date: Thu, 24 May 2007 17:42:32 +0000 Subject: [PATCH] Paired commit with 22402. Makes necessary schema additions for the extra parameter needed for index updates. --- docs/export-0.3.xsd | 3 +++ includes/Export.php | 2 ++ 2 files changed, 5 insertions(+) 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"; -- 2.20.1