// XXX Copy-pasted from ServiceWiring.php. Do we need a factory for this one caller?
$lc = new LocalisationCacheBulkLoad(
new ServiceOptions(
- LocalisationCache::$constructorOptions,
+ LocalisationCache::CONSTRUCTOR_OPTIONS,
$conf,
MediaWikiServices::getInstance()->getMainConfig()
),
[ function () {
MediaWikiServices::getInstance()->getResourceLoader()
->getMessageBlobStore()->clear();
- } ]
+ } ],
+ MediaWikiServices::getInstance()->getLanguageNameUtils()
);
$allCodes = array_keys( Language::fetchLanguageNames( null, 'mwfile' ) );