Index: trunk/phase3/includes/Export.php |
— | — | @@ -354,7 +354,7 @@ |
355 | 355 | * @return string |
356 | 356 | */ |
357 | 357 | function schemaVersion() { |
358 | | - return "0.4"; |
| 358 | + return "0.5"; |
359 | 359 | } |
360 | 360 | |
361 | 361 | /** |
— | — | @@ -511,12 +511,12 @@ |
512 | 512 | // Raw text from the database may have invalid chars |
513 | 513 | $text = strval( Revision::getRevisionText( $row ) ); |
514 | 514 | $out .= " " . Xml::elementClean( 'text', |
515 | | - array( 'xml:space' => 'preserve' ), |
| 515 | + array( 'xml:space' => 'preserve', 'bytes' => $row->rev_len ), |
516 | 516 | strval( $text ) ) . "\n"; |
517 | 517 | } else { |
518 | 518 | // Stub output |
519 | 519 | $out .= " " . Xml::element( 'text', |
520 | | - array( 'id' => $row->rev_text_id ), |
| 520 | + array( 'id' => $row->rev_text_id, 'bytes' => $row->rev_len ), |
521 | 521 | "" ) . "\n"; |
522 | 522 | } |
523 | 523 | |