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