Change-Id: Id84590b3aa285e31a358877167fe8ff502077f3c
/**
* @param WANObjectCache $cache
- * @param TitleValue $t
+ * @param LinkTarget $t
* @return string[]
* @since 1.28
*/
- public function getMutableCacheKeys( WANObjectCache $cache, TitleValue $t ) {
+ public function getMutableCacheKeys( WANObjectCache $cache, LinkTarget $t ) {
if ( $this->isCacheable( $t ) ) {
return [ $cache->makeKey( 'page', $t->getNamespace(), sha1( $t->getDBkey() ) ) ];
}
public function getMutableCacheKeys( WANObjectCache $cache ) {
$linkCache = MediaWikiServices::getInstance()->getLinkCache();
- return $linkCache->getMutableCacheKeys( $cache, $this->getTitle()->getTitleValue() );
+ return $linkCache->getMutableCacheKeys( $cache, $this->getTitle() );
}
}