$wgTitle is not needed for running parser tests

Change-Id: Iaf14b1bc15763207a30cf624d5876120b0d5ce01
This commit is contained in:
Chad Horohoe 2014-09-24 09:56:43 -07:00
parent 0e5e02c985
commit 14a81a7dc7

View file

@ -70,10 +70,6 @@ if ( $wgDBtype == 'sqlite' ) {
}
}
# There is a convention that the parser should never
# refer to $wgTitle directly, but instead use the title
# passed to it.
$wgTitle = Title::newFromText( 'Parser test script do not use' );
$tester = new ParserTest( $options );
if ( isset( $options['file'] ) ) {