r70039 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r70038‎ | r70039 | r70040 >
Date:20:39, 27 July 2010
Author:platonides
Status:ok
Tags:
Comment:
Actually use the global.
Modified paths:
  • /trunk/phase3/maintenance/language/dumpMessages.php (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/language/dumpMessages.php
@@ -31,6 +31,8 @@
3232 }
3333
3434 public function execute() {
 35+ global $wgVersion;
 36+
3537 $messages = array();
3638 foreach ( array_keys( Language::getMessagesFor( 'en' ) ) as $key ) {
3739 $messages[$key] = wfMsg( $key );

Status & tagging log