Fix title comparision in maintenance script
Change-Id: I1ddba0fd5fc5ee1c060732026b1699a44b6bf220
This commit is contained in:
parent
b00909d2bc
commit
adddfee59f
|
@ -43,7 +43,7 @@ class MathGenerateTests extends Maintenance {
|
||||||
$article = new Article( $title );
|
$article = new Article( $title );
|
||||||
$wikiText = $article->getPage()->getContent()->getNativeData();
|
$wikiText = $article->getPage()->getContent()->getNativeData();
|
||||||
} else {
|
} else {
|
||||||
if ( $title == self::REFERENCE_PAGE ) {
|
if ( $title->getPrefixedDBkey() === self::REFERENCE_PAGE ) {
|
||||||
$wgEnableScaryTranscluding = true;
|
$wgEnableScaryTranscluding = true;
|
||||||
$parser = new Parser();
|
$parser = new Parser();
|
||||||
$wikiText = $parser->interwikiTransclude( $title, 'raw' );
|
$wikiText = $parser->interwikiTransclude( $title, 'raw' );
|
||||||
|
|
Loading…
Reference in New Issue