From: Brion Vibber Date: Thu, 23 Sep 2004 07:04:06 +0000 (+0000) Subject: Set language to en for tests. X-Git-Tag: 1.5.0alpha1~1854 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/?a=commitdiff_plain;h=5736e97220d1fd9874e7dcd9ac80d46a4374a294;p=lhc%2Fweb%2Fwiklou.git Set language to en for tests. --- diff --git a/maintenance/parserTests.php b/maintenance/parserTests.php index 323b9313b8..6d3de6cd27 100644 --- a/maintenance/parserTests.php +++ b/maintenance/parserTests.php @@ -152,12 +152,14 @@ class ParserTest { } function setupGlobals() { - static $settings = array( + $settings = array( 'wgServer' => 'http://localhost', 'wgScript' => '/index.php', 'wgScriptPath' => '/', 'wgArticlePath' => '/wiki/$1', 'wgSitename' => 'MediaWiki', + 'wgLanguageCode' => 'en', + 'wgLang' => new LanguageUtf8(), ); $this->savedGlobals = array(); foreach( $settings as $var => $val ) {