X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2FparserTests.php;h=4d84025b27496afa301eeaaa7a7249fa72fc36de;hb=dd696deb3e23e19cbe6e3aa232311226236c1a3c;hp=9965c4382c55c1ee8b64837466a66f2abb5e5ec6;hpb=91b07c5e0950572fb41f7d8f466fb6b3bbe98be5;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/parserTests.php b/tests/parserTests.php index 9965c4382c..4d84025b27 100644 --- a/tests/parserTests.php +++ b/tests/parserTests.php @@ -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'] ) ) { @@ -84,7 +80,7 @@ if ( isset( $options['file'] ) ) { } # Print out software version to assist with locating regressions -$version = SpecialVersion::getVersion(); +$version = SpecialVersion::getVersion( 'nodb' ); echo "This is MediaWiki version {$version}.\n\n"; if ( isset( $options['fuzz'] ) ) {