30use Psr\Log\LoggerInterface;
39 private $latestBacklinkCache;
45 private $hookContainer;
50 private LoggerInterface $logger;
58 LoggerInterface $logger
60 $this->options = $options;
61 $this->linksMigration = $linksMigration;
62 $this->wanCache = $wanCache;
63 $this->hookContainer = $hookContainer;
64 $this->dbProvider = $dbProvider;
65 $this->logger = $logger;
79 if ( !$this->latestBacklinkCache || !$this->latestBacklinkCache->getPage()->isSamePageAs( $page ) ) {
82 $this->linksMigration,
90 return $this->latestBacklinkCache;
if(!defined('MW_SETUP_CALLBACK'))
Multi-datacenter aware caching interface.