Index: trunk/phase3/includes/Export.php |
— | — | @@ -354,8 +354,6 @@ |
355 | 355 | * @ingroup Dump |
356 | 356 | */ |
357 | 357 | class XmlDumpWriter { |
358 | | - protected $firstPageWritten = 0, $lastPageWritten = 0, $pageInProgress = 0; |
359 | | - |
360 | 358 | /** |
361 | 359 | * Returns the export schema version. |
362 | 360 | * @return string |
— | — | @@ -459,7 +457,6 @@ |
460 | 458 | $title = Title::makeTitle( $row->page_namespace, $row->page_title ); |
461 | 459 | $out .= ' ' . Xml::elementClean( 'title', array(), $title->getPrefixedText() ) . "\n"; |
462 | 460 | $out .= ' ' . Xml::element( 'id', array(), strval( $row->page_id ) ) . "\n"; |
463 | | - $this->pageInProgress = $row->page_id; |
464 | 461 | if ( $row->page_is_redirect ) { |
465 | 462 | $out .= ' ' . Xml::element( 'redirect', array() ) . "\n"; |
466 | 463 | } |
— | — | @@ -480,10 +477,6 @@ |
481 | 478 | */ |
482 | 479 | function closePage() { |
483 | 480 | return " </page>\n"; |
484 | | - //if ( !$this->firstPageWritten ) { |
485 | | - // $this->firstPageWritten = $this->pageInProgress; |
486 | | - //} |
487 | | - //$this->lastPageWritten = $this->pageInProgress; |
488 | 481 | } |
489 | 482 | |
490 | 483 | /** |