Output software version number in maintenance/parserTests.php
authorRob Church <robchurch@users.mediawiki.org>
Tue, 26 Dec 2006 21:26:18 +0000 (21:26 +0000)
committerRob Church <robchurch@users.mediawiki.org>
Tue, 26 Dec 2006 21:26:18 +0000 (21:26 +0000)
RELEASE-NOTES
maintenance/parserTests.php

index b8673a1..f7a8570 100644 (file)
@@ -413,7 +413,8 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
 * Output both source and destination titles in maintenance/moveBatch.php
 * Added basic parser tests for language variants 
 * Enable selflinks and categories to be written in some of the language variants
-* Prevent conversion of javascript code in language variants
+* Prevent conversion of JavaScript code in language variants
+* Output software version number in maintenance/parserTests.php
 
 == Languages updated ==
 
index 3f6dbc8..bd14778 100644 (file)
@@ -59,6 +59,10 @@ if( isset( $options['file'] ) ) {
        // Default parser tests and any set from extensions or local config
        $files = $wgParserTestFiles;
 }
+
+# Print out software version to assist with locating regressions
+$version = SpecialVersion::getVersion();
+echo( "This is MediaWiki version {$version}.\n" );
 $ok = $tester->runTestsFromFiles( $files );
 
 exit ($ok ? 0 : -1);