From: Brion Vibber Date: Thu, 23 Sep 2004 07:32:54 +0000 (+0000) Subject: Load up LanguageUtf8 and force to utf-8 if config was latin1 X-Git-Tag: 1.5.0alpha1~1847 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=c055fd5d9bb2ab0ba892428e005691d7c2816478;p=lhc%2Fweb%2Fwiklou.git Load up LanguageUtf8 and force to utf-8 if config was latin1 --- diff --git a/maintenance/parserTests.php b/maintenance/parserTests.php index 941f622933..3efb10e0df 100644 --- a/maintenance/parserTests.php +++ b/maintenance/parserTests.php @@ -26,7 +26,7 @@ /** */ require_once( 'commandLine.inc' ); -include_once( 'InitialiseMessages.inc' ); +require_once( 'languages/LanguageUtf8.php' ); $wgTitle = Title::newFromText( 'Parser test script' ); @@ -159,6 +159,7 @@ class ParserTest { 'wgArticlePath' => '/wiki/$1', 'wgSitename' => 'MediaWiki', 'wgLanguageCode' => 'en', + 'wgUseLatin1' => false, 'wgLang' => new LanguageUtf8(), ); $this->savedGlobals = array();