$content = ContentHandler::makeContent( $text, $wikiPage->getTitle() );
$wikiPage->doEditContent( $content, "Importing from $url", 0, false, $user );
}
-
}
protected function fetchScriptList() {
$data = array(
'action' => 'query',
- 'format' => 'php',//'json',
+ 'format' => 'php', //'json',
'list' => 'allpages',
'apnamespace' => '8',
'aplimit' => '500',
} while ( isset( $result['query-continue'] ) );
return $pages;
-
}
}