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 );
|
$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