X-Git-Url: https://git.cyclocoop.org/admin/?a=blobdiff_plain;f=includes%2Fpoolcounter%2FPoolWorkArticleView.php;h=0abe1a5dde12c90cd27ec376ef2470c24730d10f;hb=956ffb9cd77bb9748cf7bc425d50f0eea7e3abdd;hp=2c9fbc87759ffd70cef526a8faf73746403d4a86;hpb=b3f03fd75efbf1a01910ccb27e9e8860de70aa29;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/poolcounter/PoolWorkArticleView.php b/includes/poolcounter/PoolWorkArticleView.php index 2c9fbc8775..0abe1a5dde 100644 --- a/includes/poolcounter/PoolWorkArticleView.php +++ b/includes/poolcounter/PoolWorkArticleView.php @@ -114,7 +114,9 @@ class PoolWorkArticleView extends PoolCounterWork { $this->revision = $revision; $this->audience = $audience; $this->cacheKey = $this->parserCache->getKey( $page, $parserOptions ); - $keyPrefix = $this->cacheKey ?: wfMemcKey( 'articleview', 'missingcachekey' ); + $keyPrefix = $this->cacheKey ?: ObjectCache::getLocalClusterInstance()->makeKey( + 'articleview', 'missingcachekey' + ); parent::__construct( 'ArticleView', $keyPrefix . ':revid:' . $revid ); }