r70079 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r70078‎ | r70079 | r70080 >
Date:11:46, 28 July 2010
Author:platonides
Status:ok
Tags:
Comment:
Remove the $wg since this is not a global.
Modified paths:
  • /trunk/phase3/maintenance/language/alltrans.php (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/language/alltrans.php
@@ -29,8 +29,8 @@
3030 }
3131
3232 public function execute() {
33 - $wgEnglishMessages = array_keys( Language::getMessagesFor( 'en' ) );
34 - foreach ( $wgEnglishMessages as $key ) {
 33+ $englishMessages = array_keys( Language::getMessagesFor( 'en' ) );
 34+ foreach ( $englishMessages as $key ) {
3535 $this->output( "$key\n" );
3636 }
3737 }

Status & tagging log