dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63307ad
)
Update the maintenance script alltrans.php for the new language files.
author
Rotem Liss
<rotem@users.mediawiki.org>
Wed, 2 Aug 2006 18:37:55 +0000
(18:37 +0000)
committer
Rotem Liss
<rotem@users.mediawiki.org>
Wed, 2 Aug 2006 18:37:55 +0000
(18:37 +0000)
maintenance/alltrans.php
patch
|
blob
|
history
diff --git
a/maintenance/alltrans.php
b/maintenance/alltrans.php
index
2fdc449
..
f5bd8ef
100644
(file)
--- 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";
+}
+
?>