Creating the function MessageCache::getExtensionMessagesFor, to get an array of the...
authorRotem Liss <rotem@users.mediawiki.org>
Sun, 3 Sep 2006 16:31:28 +0000 (16:31 +0000)
committerRotem Liss <rotem@users.mediawiki.org>
Sun, 3 Sep 2006 16:31:28 +0000 (16:31 +0000)
commitad8032b081d07dbfb65ceddee8d8ece8face962d
tree00c3c5f296208deab511d44ff04bbed8509478d7
parent132ae37b5226bd0c8f35095dd548d50afdcc5f0a
Creating the function MessageCache::getExtensionMessagesFor, to get an array of the extension messages in a specific language, and avoid the ugly hack in Special:Allmessages, which uses a private variable of wgMessageCache and uses is_array to check the array of messages, which includes both regular strings (as should be) and arrays of the languages.
includes/MessageCache.php
includes/SpecialAllmessages.php