r50605 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r50604‎ | r50605 | r50606 >
Date:21:38, 14 May 2009
Author:thedevilonline
Status:ok (Comments)
Tags:
Comment:
Added a new hook to handle messages that aren't found in the Mediawiki Namespace (before checking the message files)
Modified paths:
  • /trunk/phase3/includes/MessageCache.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/MessageCache.php
@@ -527,6 +527,8 @@
528528 }
529529 $message = $this->getMsgFromNamespace( $title, $langcode );
530530 }
 531+ if($message === false)
 532+ wfRunHooks('MessageNotInMwNs', array(&$message,$lckey,$langcode,$isFullKey));
531533
532534 # Try the extension array
533535 if ( $message === false && isset( $this->mExtensionMessages[$langcode][$lckey] ) ) {

Follow-up revisions

RevisionCommit summaryAuthorDate
r50606Updated RELEASE-NOTES for the changes made in r50605thedevilonline21:41, 14 May 2009

Comments

#Comment by Brion VIBBER (talk | contribs)   23:21, 14 May 2009

This is for extension being worked on to fetch more recent localization updates out of translatewiki.

Status & tagging log