Make LocalisationCache a service
authorAryeh Gregor <ayg@aryeh.name>
Wed, 1 May 2019 13:56:41 +0000 (16:56 +0300)
committerAryeh Gregor <ayg@aryeh.name>
Thu, 22 Aug 2019 11:25:18 +0000 (14:25 +0300)
commite4468a1d6b6b9fdc5b64800febdc8748d21f213d
treed5dc64b490e42bae53004ab2bb17ba0c80eaf646
parent07163a20dd8bce8df839f3f1699f32baed898981
Make LocalisationCache a service

This removes Language::$dataCache without deprecation, because 1) I
don't know of a way to properly simulate it in the new paradigm, and 2)
I found no direct access to the member outside of the Language and
LanguageTest classes.

Change-Id: Iaa86c48e7434f081a53f5bae8723c37c5a34f503
12 files changed:
RELEASE-NOTES-1.34
includes/DefaultSettings.php
includes/MediaWikiServices.php
includes/ServiceWiring.php
includes/cache/localisation/LocalisationCache.php
includes/installer/Installer.php
languages/Language.php
maintenance/rebuildLocalisationCache.php
tests/phpunit/MediaWikiIntegrationTestCase.php
tests/phpunit/includes/cache/LocalisationCacheTest.php
tests/phpunit/includes/logging/LogFormatterTest.php
tests/phpunit/languages/LanguageTest.php