Fix title comparision in maintenance script

Change-Id: I1ddba0fd5fc5ee1c060732026b1699a44b6bf220
This commit is contained in:
Umherirrender 2019-05-27 21:20:36 +02:00
parent b00909d2bc
commit adddfee59f
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ class MathGenerateTests extends Maintenance {
$article = new Article( $title );
$wikiText = $article->getPage()->getContent()->getNativeData();
} else {
if ( $title == self::REFERENCE_PAGE ) {
if ( $title->getPrefixedDBkey() === self::REFERENCE_PAGE ) {
$wgEnableScaryTranscluding = true;
$parser = new Parser();
$wikiText = $parser->interwikiTransclude( $title, 'raw' );