}
public function testImportForImportSource() {
-
$this->doImport( $this->importStreamSource );
// Imported title
* @depends testImportForImportSource
*/
public function testReImportForImportSource() {
-
$this->doImport( $this->importStreamSource );
// ReImported title
}
private function doImport( $importStreamSource ) {
-
$importer = new WikiImporter(
$importStreamSource->value,
MediaWikiServices::getInstance()->getMainConfig()