From: Rob Church Date: Tue, 26 Dec 2006 21:26:18 +0000 (+0000) Subject: Output software version number in maintenance/parserTests.php X-Git-Tag: 1.31.0-rc.0~54760 X-Git-Url: http://git.cyclocoop.org/%22.%20generer_url_ecrire%28%22sites_tous%22%2C%22%22%29.%20%22?a=commitdiff_plain;h=065a0de34df5a9b7f054df3a934fe1f26a209d5a;p=lhc%2Fweb%2Fwiklou.git Output software version number in maintenance/parserTests.php --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index b8673a17fd..f7a8570eec 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -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 == diff --git a/maintenance/parserTests.php b/maintenance/parserTests.php index 3f6dbc8712..bd14778865 100644 --- a/maintenance/parserTests.php +++ b/maintenance/parserTests.php @@ -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);