From: Rotem Liss Date: Fri, 4 Aug 2006 19:47:10 +0000 (+0000) Subject: Using a better method to get the English language file. X-Git-Tag: 1.31.0-rc.0~56081 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=2f2221708f5a85cb6c3ba0ea54a179ebab31d251;p=lhc%2Fweb%2Fwiklou.git Using a better method to get the English language file. --- diff --git a/maintenance/alltrans.php b/maintenance/alltrans.php index f5bd8ef420..15af0e4d05 100644 --- a/maintenance/alltrans.php +++ b/maintenance/alltrans.php @@ -8,7 +8,7 @@ require_once( 'commandLine.inc' ); -$wgLang = new Language(); +$wgLang = Language::factory( 'en' ); foreach( array_keys( $wgLang->getAllMessages() ) as $key ) { echo "$key\n"; }