Merge "Don't localize parentheses in version number in parserTests.php"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Mon, 25 May 2015 11:49:52 +0000 (11:49 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Mon, 25 May 2015 11:49:52 +0000 (11:49 +0000)
1  2 
tests/parserTests.php

diff --combined tests/parserTests.php
@@@ -24,8 -24,7 +24,8 @@@
   * @ingroup Testing
   */
  
 -$otions = array( 'quick', 'color', 'quiet', 'help', 'show-output', 'record', 'run-disabled', 'run-parsoid' );
 +$otions = array( 'quick', 'color', 'quiet', 'help', 'show-output',
 +      'record', 'run-disabled', 'run-parsoid' );
  $optionsWithArgs = array( 'regex', 'filter', 'seed', 'setversion' );
  
  require_once __DIR__ . '/../maintenance/commandLine.inc';
@@@ -70,6 -69,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'] ) ) {
@@@ -80,7 -83,7 +80,7 @@@
  }
  
  # 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'] ) ) {