From 04311d766cc3a2647473bd9744d0cf180f3d5d59 Mon Sep 17 00:00:00 2001 From: Rotem Liss Date: Wed, 2 Aug 2006 18:37:55 +0000 Subject: [PATCH] Update the maintenance script alltrans.php for the new language files. --- maintenance/alltrans.php | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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"; +} + ?> -- 2.20.1