diff --git a/includes/services/PortableInfoboxDataService.php b/includes/services/PortableInfoboxDataService.php index bd9e0ae..ac5221c 100644 --- a/includes/services/PortableInfoboxDataService.php +++ b/includes/services/PortableInfoboxDataService.php @@ -1,5 +1,6 @@ title = $title !== null ? $title : new Title(); $this->parsingHelper = new PortableInfoboxParsingHelper(); $this->propsProxy = new PagePropsProxy(); - $this->memcached = ObjectCache::getMainWANInstance(); + $this->memcached = MediaWikiServices::getInstance()->getMainWANObjectCache(); $this->cachekey = $this->memcached->makeKey( __CLASS__, $this->title->getArticleID(),