$wgTitle is not needed for running parser tests
authorChad Horohoe <chadh@wikimedia.org>
Wed, 24 Sep 2014 16:56:43 +0000 (09:56 -0700)
committerChad Horohoe <chadh@wikimedia.org>
Wed, 24 Sep 2014 16:56:43 +0000 (09:56 -0700)
Change-Id: Iaf14b1bc15763207a30cf624d5876120b0d5ce01

tests/parserTests.php

index 9965c43..5d21319 100644 (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'] ) ) {