$cache = MediaWikiServices::getInstance()->getMainWANObjectCache();
$key = $this->repo->getLocalCacheKey(
'RemoteFileDescription',
- 'url',
$lang->getCode(),
- $this->getName()
+ md5( $this->getName() )
);
return $cache->getWithSetCallback(
return $cache->getWithSetCallback(
$this->repo->getLocalCacheKey(
- 'RemoteFileDescription',
- 'url',
+ 'ForeignFileDescription',
$lang->getCode(),
- $this->getName(),
+ md5( $this->getName() ),
$touched
),
$this->repo->descriptionCacheExpiry ?: $cache::TTL_UNCACHEABLE,