From: Rotem Liss Date: Wed, 2 Aug 2006 18:37:55 +0000 (+0000) Subject: Update the maintenance script alltrans.php for the new language files. X-Git-Tag: 1.31.0-rc.0~56098 X-Git-Url: http://git.cyclocoop.org/%22.htmlspecialchars%28%24url_syndic%29.%22?a=commitdiff_plain;h=04311d766cc3a2647473bd9744d0cf180f3d5d59;p=lhc%2Fweb%2Fwiklou.git Update the maintenance script alltrans.php for the new language files. --- diff --git a/maintenance/alltrans.php b/maintenance/alltrans.php index 2fdc4499af..f5bd8ef420 100644 --- a/maintenance/alltrans.php +++ b/maintenance/alltrans.php @@ -2,10 +2,15 @@ /** * @package MediaWiki * @subpackage Maintenance + * + * Get all the translations messages, as defined in the English language file. */ -require_once('commandLine.inc'); +require_once( 'commandLine.inc' ); -foreach(array_keys($wgAllMessagesEn) as $key) +$wgLang = new Language(); +foreach( array_keys( $wgLang->getAllMessages() ) as $key ) { echo "$key\n"; +} + ?>