Merge "Fix title comparision in maintenance script"

This commit is contained in:
jenkins-bot 2019-05-30 21:57:25 +00:00 committed by Gerrit Code Review
commit 0ccfd44b81
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' );