X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FServiceWiring.php;h=d048007c3a999d4dcf7d9dbeaac5d3194ea275d2;hb=f9814f7709e75d8a50a6b363d454da26a047339d;hp=e1244e75900eda8548141a6e72d3739c367605e9;hpb=1326bfc813fc789935088bea572f11cca83ce8d5;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/ServiceWiring.php b/includes/ServiceWiring.php index e1244e7590..d048007c3a 100644 --- a/includes/ServiceWiring.php +++ b/includes/ServiceWiring.php @@ -287,7 +287,7 @@ return [ return ObjectFactory::constructClassInstance( $conf['class'], [ $conf ] ); }, - 'ParserCache' => function( MediaWikiServices $services ) { + 'ParserCache' => function ( MediaWikiServices $services ) { $config = $services->getMainConfig(); $cache = ObjectCache::getInstance( $config->get( 'ParserCacheType' ) ); wfDebugLog( 'caches', 'parser: ' . get_class( $cache ) ); @@ -298,7 +298,7 @@ return [ ); }, - 'LinkCache' => function( MediaWikiServices $services ) { + 'LinkCache' => function ( MediaWikiServices $services ) { return new LinkCache( $services->getTitleFormatter(), $services->getMainWANObjectCache()