r55286 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r55285‎ | r55286 | r55287 >
Date:22:53, 18 August 2009
Author:catrope
Status:ok
Tags:
Comment:
wmf-deployment: Merge r55276 which I forgot in r55283
Modified paths:
  • /branches/wmf-deployment/extensions/LocalisationUpdate (modified) (history)
  • /branches/wmf-deployment/extensions/LocalisationUpdate/LocalisationUpdate.class.php (modified) (history)
  • /branches/wmf-deployment/extensions/LocalisationUpdate/LocalisationUpdate.php (modified) (history)

Diff [purge]

Index: branches/wmf-deployment/extensions/LocalisationUpdate/LocalisationUpdate.php
@@ -33,7 +33,7 @@
3434 );
3535
3636 // Use the right hook
37 -$wgHooks['MessageNotInMwNs'][] = 'LocalisationUpdate::FindUpdatedMessages'; // MW <= 1.15
 37+$wgHooks['MessageNotInMwNs'][] = 'LocalisationUpdate::FindUpdatedMessage'; // MW <= 1.15
3838 $wgHooks['LocalisationCacheRecache'][] = 'LocalisationUpdate::onRecache'; // MW 1.16+
3939
4040 $dir = dirname( __FILE__ ) . '/';
Index: branches/wmf-deployment/extensions/LocalisationUpdate/LocalisationUpdate.class.php
@@ -15,6 +15,8 @@
1616 // If message is in the cache, don't get an update!
1717 if ( array_key_exists( $lckey . "/" . $langcode, $cache ) ) {
1818 $message = $cache[$lckey . "/" . $langcode];
 19+ return true;
 20+ }
1921
2022 // Get the message from the database
2123 $conds = array( 'lo_key' => $lckey, 'lo_language' => $langcode );
Property changes on: branches/wmf-deployment/extensions/LocalisationUpdate
___________________________________________________________________
Modified: svn:mergeinfo
2224 Merged /trunk/extensions/LocalisationUpdate:r55276

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r55276Fix fatals in r55275catrope21:42, 18 August 2009
r55283wmf-deployment: Merge r55275 and r55276: fixes for LocalisationUpdatecatrope22:22, 18 August 2009

Status & tagging log