}
public function execute() {
- global $wgLocalisationCacheConf;
+ global $wgLocalisationCacheConf, $wgCacheDirectory;
$force = $this->hasOption( 'force' );
$threads = $this->getOption( 'threads', 1 );
$conf,
MediaWikiServices::getInstance()->getMainConfig()
),
- new LCStoreDB( [] ),
+ LocalisationCache::getStoreFromConf( $conf, $wgCacheDirectory ),
LoggerFactory::getInstance( 'localisation' ),
[ function () {
MediaWikiServices::getInstance()->getResourceLoader()