Merge "Fix title comparision in maintenance script"
This commit is contained in:
commit
0ccfd44b81
|
@ -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' );
|
||||
|
|
Loading…
Reference in New Issue