$this->dieUsageMsg( array( 'import-unknownerror', $source->getMessage() ) );
}
- $importer = new WikiImporter( $source );
+ $importer = new ImportXMLReader( $source );
if ( isset( $params['namespace'] ) ) {
$importer->setTargetNamespace( $params['namespace'] );
}
function getData() {
return $this->mResultArr;
}
-}
\ No newline at end of file
+}