) {
$status = $page->doEditContent(
ContentHandler::makeContent( $text, $page->getTitle(), $model ),
- $summary
+ $summary, 0, false, $this->getTestUser()->getUser()
);
if ( $status->isGood() ) {
* @return string
*/
protected function getXmlSchemaPath( $schemaVersion = null ) {
- global $IP;
+ global $IP, $wgXmlDumpSchemaVersion;
- $schemaVersion = $schemaVersion ?: '0.10';
+ $schemaVersion = $schemaVersion ?: $wgXmlDumpSchemaVersion;
return "$IP/docs/export-$schemaVersion.xsd";
}