Index: trunk/phase3/maintenance/importDump.php |
— | — | @@ -140,7 +140,7 @@ |
141 | 141 | $this->startTime = wfTime(); |
142 | 142 | |
143 | 143 | $source = new ImportStreamSource( $handle ); |
144 | | - $importer = new ImportXMLReader( $source ); |
| 144 | + $importer = new WikiImporter( $source ); |
145 | 145 | |
146 | 146 | $importer->setDebug( $this->debug ); |
147 | 147 | $importer->setPageCallback( array( &$this, 'reportPage' ) ); |
Index: trunk/phase3/maintenance/renderDump.php |
— | — | @@ -46,7 +46,7 @@ |
47 | 47 | $this->startTime = wfTime(); |
48 | 48 | |
49 | 49 | $source = new ImportStreamSource( $this->getStdin() ); |
50 | | - $importer = new ImportXMLReader( $source ); |
| 50 | + $importer = new WikiImporter( $source ); |
51 | 51 | |
52 | 52 | $importer->setRevisionCallback( |
53 | 53 | array( &$this, 'handleRevision' ) ); |