Index: includes/Export.php
===================================================================
--- includes/Export.php (revision 103249)
+++ includes/Export.php (working copy)
@@ -521,6 +521,12 @@
$out .= $this->writeTimestamp( $row->rev_timestamp );
+ if ( $row->rev_sha1 ) {
+ $out .= " " . Xml::element('sha1', null, strval($row->rev_sha1) ) . "\n";
+ } else {
+ $out .= " \n";
+ }
+
if ( $row->rev_deleted & Revision::DELETED_USER ) {
$out .= " " . Xml::element( 'contributor', array( 'deleted' => 'deleted' ) ) . "\n";
} else {
Index: docs/export-0.6.xsd
===================================================================
--- docs/export-0.6.xsd (revision 103249)
+++ docs/export-0.6.xsd (working copy)
@@ -15,8 +15,9 @@
Version 0.5 adds byte count per revision.
- Version 0.6 adds a separate namespace tag, locates the
- redirect target and strips of the namespace from the title.
+ Version 0.6 adds: a separate namespace tag, locates the
+ redirect target, strips of the namespace from the title
+ adds a sha1 tag.
The canonical URL to the schema document is:
http://www.mediawiki.org/xml/export-0.6.xsd
@@ -134,6 +135,7 @@
+
@@ -178,6 +180,12 @@
+
+
+
+
+
+