r27524 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r27523‎ | r27524 | r27525 >
Date:15:12, 15 November 2007
Author:nikerabbit
Status:old
Tags:
Comment:
* Bug in core-500 mg
Modified paths:
  • /trunk/extensions/Translate/MessageGroups.php (modified) (history)
  • /trunk/extensions/Translate/Translate.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/Translate.php
@@ -12,7 +12,7 @@
1313
1414 $wgExtensionCredits['specialpage'][] = array(
1515 'name' => 'Translate',
16 - 'version' => '5.2',
 16+ 'version' => '5.3',
1717 'author' => 'Niklas Laxström',
1818 'description' => 'Special page for translating Mediawiki and beyond',
1919 'url' => 'http://www.mediawiki.org/wiki/Extension:Translate',
Index: trunk/extensions/Translate/MessageGroups.php
@@ -398,7 +398,7 @@
399399 $definitions = array();
400400 foreach ( $messages as $key ) {
401401 if ( isset($contents[$key]) ) {
402 - $definitions[$key] = $contents;
 402+ $definitions[$key] = $contents[$key];
403403 }
404404 }
405405 return $definitions;

Status & tagging log