Rewrite of XML Dump Processing:
[lhc/web/wiklou.git] / includes / api / ApiImport.php
index 8b7d1c1..5135ecf 100644 (file)
@@ -74,7 +74,7 @@ class ApiImport extends ApiBase {
                        $this->dieUsageMsg( array( 'import-unknownerror', $source->getMessage() ) );
                }
 
-               $importer = new WikiImporter( $source );
+               $importer = new ImportXMLReader( $source );
                if ( isset( $params['namespace'] ) ) {
                        $importer->setTargetNamespace( $params['namespace'] );
                }
@@ -193,4 +193,4 @@ class ApiImportReporter extends ImportReporter {
        function getData() {
                return $this->mResultArr;
        }
-}
\ No newline at end of file
+}