Index: trunk/phase3/includes/api/ApiQueryAllmessages.php |
— | — | @@ -53,8 +53,7 @@ |
54 | 54 | //Determine which messages should we print |
55 | 55 | $messages_target = array(); |
56 | 56 | 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' ) ); |
59 | 58 | sort( $message_names ); |
60 | 59 | $messages_target = $message_names; |
61 | 60 | } else { |