* Replaced $wgMessageCache by MessageCache::singleton(); since we only use one instan...
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Wed, 26 Jan 2011 15:42:04 +0000 (15:42 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Wed, 26 Jan 2011 15:42:04 +0000 (15:42 +0000)
commit51c6afc751e5e038952ef1fc325676489bbb08fd
tree6b8abee5b9cc9805a4001cd4cc6a4fe2e47fb99a
parentc4a741d7f65386c75fe0ea63faaa1d227e343bc5
* Replaced $wgMessageCache by MessageCache::singleton(); since we only use one instance of this class (as for ParserCache, LinkCache)
* MessageCache::singleton() calls wfGetMessageCacheStorage() directly instead of using $messageMemc, just in case this would be called before that variable is set
* Per TimStarling: also removed deprecated methods in MessageCache class: addMessages() and related, [get|set|enable|disable]Transform(), loadAllMessages(), loadMessageFile() and some others. Same for the legacyData stuff in LocalisationCache that was only used by MessageCache::addMessages() and related.
* Converted remaining extensions
18 files changed:
docs/globals.txt
includes/Article.php
includes/EditPage.php
includes/GlobalFunctions.php
includes/LocalisationCache.php
includes/Message.php
includes/MessageCache.php
includes/Setup.php
includes/Title.php
includes/db/Database.php
includes/parser/CoreParserFunctions.php
languages/LanguageConverter.php
tests/parser/parserTest.inc
tests/phpunit/bootstrap.php
tests/phpunit/includes/MessageTest.php
tests/phpunit/includes/TitlePermissionTest.php
tests/phpunit/includes/parser/NewParserTest.php
tests/phpunit/suites/UploadFromUrlTestSuite.php