From 117ed1ef5d7080a4778f2b3d51b9a7abbf6bff20 Mon Sep 17 00:00:00 2001 From: Rob Lanphier Date: Sat, 8 Jan 2011 03:11:06 +0000 Subject: [PATCH] Bug 26563: Add bytes changed per revision for stub and full article dumps --- includes/Export.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/Export.php b/includes/Export.php index 22d6a1fe82..06e4565427 100644 --- a/includes/Export.php +++ b/includes/Export.php @@ -354,7 +354,7 @@ class XmlDumpWriter { * @return string */ function schemaVersion() { - return "0.4"; + return "0.5"; } /** @@ -511,12 +511,12 @@ class XmlDumpWriter { // Raw text from the database may have invalid chars $text = strval( Revision::getRevisionText( $row ) ); $out .= " " . Xml::elementClean( 'text', - array( 'xml:space' => 'preserve' ), + array( 'xml:space' => 'preserve', 'bytes' => $row->rev_len ), strval( $text ) ) . "\n"; } else { // Stub output $out .= " " . Xml::element( 'text', - array( 'id' => $row->rev_text_id ), + array( 'id' => $row->rev_text_id, 'bytes' => $row->rev_len ), "" ) . "\n"; } -- 2.20.1