r66269 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r66268‎ | r66269 | r66270 >
Date:13:38, 12 May 2010
Author:werdna
Status:ok
Tags:
Comment:
Missing commits from r66268, revert class rename in r66267
Modified paths:
  • /trunk/phase3/maintenance/importDump.php (modified) (history)
  • /trunk/phase3/maintenance/renderDump.php (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/importDump.php
@@ -140,7 +140,7 @@
141141 $this->startTime = wfTime();
142142
143143 $source = new ImportStreamSource( $handle );
144 - $importer = new ImportXMLReader( $source );
 144+ $importer = new WikiImporter( $source );
145145
146146 $importer->setDebug( $this->debug );
147147 $importer->setPageCallback( array( &$this, 'reportPage' ) );
Index: trunk/phase3/maintenance/renderDump.php
@@ -46,7 +46,7 @@
4747 $this->startTime = wfTime();
4848
4949 $source = new ImportStreamSource( $this->getStdin() );
50 - $importer = new ImportXMLReader( $source );
 50+ $importer = new WikiImporter( $source );
5151
5252 $importer->setRevisionCallback(
5353 array( &$this, 'handleRevision' ) );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r66267Rewrite of XML Dump Processing:...werdna13:28, 12 May 2010
r66268Function accessibility changes, documentation, revert function rename for r66267werdna13:37, 12 May 2010

Status & tagging log