http://www.mediawiki.org/wiki/Special:Code/MediaWiki/97800
Revision: 97800
Author: ariel
Date: 2011-09-22 07:03:25 +0000 (Thu, 22 Sep 2011)
Log Message:
-----------
remove cruft that didn't all get cleaned up before commit in r95260, addressing
fixme.
Modified Paths:
--------------
trunk/phase3/includes/Export.php
Modified: trunk/phase3/includes/Export.php
===================================================================
--- trunk/phase3/includes/Export.php 2011-09-22 06:43:07 UTC (rev 97799)
+++ trunk/phase3/includes/Export.php 2011-09-22 07:03:25 UTC (rev 97800)
@@ -354,8 +354,6 @@
* @ingroup Dump
*/
class XmlDumpWriter {
- protected $firstPageWritten = 0, $lastPageWritten = 0, $pageInProgress
= 0;
-
/**
* Returns the export schema version.
* @return string
@@ -459,7 +457,6 @@
$title = Title::makeTitle( $row->page_namespace,
$row->page_title );
$out .= ' ' . Xml::elementClean( 'title', array(),
$title->getPrefixedText() ) . "\n";
$out .= ' ' . Xml::element( 'id', array(), strval(
$row->page_id ) ) . "\n";
- $this->pageInProgress = $row->page_id;
if ( $row->page_is_redirect ) {
$out .= ' ' . Xml::element( 'redirect', array() ) .
"\n";
}
@@ -480,10 +477,6 @@
*/
function closePage() {
return " </page>\n";
- //if ( !$this->firstPageWritten ) {
- // $this->firstPageWritten = $this->pageInProgress;
- //}
- //$this->lastPageWritten = $this->pageInProgress;
}
/**
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs