r52858 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r52857‎ | r52858 | r52859 >
Date:20:40, 7 July 2009
Author:ialex
Status:ok
Tags:
Comment:
fi E_ERROR: Call to undefined method MessageCache::getExtensionMessagesFor() in includes/api/ApiQueryAllmessages.php on line 57
Modified paths:
  • /trunk/phase3/includes/api/ApiQueryAllmessages.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiQueryAllmessages.php
@@ -53,8 +53,7 @@
5454 //Determine which messages should we print
5555 $messages_target = array();
5656 if( $params['messages'] == '*' ) {
57 - $wgMessageCache->loadAllMessages();
58 - $message_names = array_keys( array_merge( Language::getMessagesFor( 'en' ), $wgMessageCache->getExtensionMessagesFor( 'en' ) ) );
 57+ $message_names = array_keys( Language::getMessagesFor( 'en' ) );
5958 sort( $message_names );
6059 $messages_target = $message_names;
6160 } else {

Follow-up revisions

RevisionCommit summaryAuthorDate
r52894follow-up r52858: remove unused "global $wgMessageCache;"ialex09:38, 8 July 2009
r53858Merging SecurePoll changes from trunk, r52089 to r52858. For Board election.tstarling06:05, 28 July 2009

Status & tagging log