$config = $services->getMainConfig();
$cache = ObjectCache::getInstance( $config->get( 'ParserCacheType' ) );
wfDebugLog( 'caches', 'parser: ' . get_class( $cache ) );
$config = $services->getMainConfig();
$cache = ObjectCache::getInstance( $config->get( 'ParserCacheType' ) );
wfDebugLog( 'caches', 'parser: ' . get_class( $cache ) );
return new LinkCache(
$services->getTitleFormatter(),
$services->getMainWANObjectCache()
return new LinkCache(
$services->getTitleFormatter(),
$services->getMainWANObjectCache()