r51017 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r51016‎ | r51017 | r51018 >
Date:13:33, 26 May 2009
Author:thedevilonline
Status:deferred
Tags:
Comment:
- Now extensions should also update correctly
Modified paths:
  • /trunk/extensions/LocalisationUpdate/LocalisationUpdate.class.php (modified) (history)

Diff [purge]

Index: trunk/extensions/LocalisationUpdate/LocalisationUpdate.class.php
@@ -445,7 +445,7 @@
446446 if ( $saveResults === true && !empty($changedStrings) && is_array($changedStrings)) {
447447 self::myLog( "--Checking languagecode {$language}--" );
448448 // The save them
449 - $updates = self::saveChanges( $changedStrings, $forbiddenKeys, $base_messages, $language );
 449+ $updates = self::saveChanges( $changedStrings, $forbiddenKeys, $messages, $language );
450450 self::myLog( "{$updates} messages updated for {$language}." );
451451 } elseif($saveResults === true) {
452452 self::myLog( "--{$language} hasn't changed--" );

Status & tagging log