17use Psr\Log\LoggerInterface;
26 private $latestBacklinkCache;
32 private $hookContainer;
38 private LoggerInterface $logger;
47 LoggerInterface $logger
49 $this->options = $options;
50 $this->linksMigration = $linksMigration;
51 $this->wanCache = $wanCache;
52 $this->hookContainer = $hookContainer;
53 $this->dbProvider = $dbProvider;
54 $this->restrictionStore = $restrictionStore;
55 $this->logger = $logger;
69 if ( !$this->latestBacklinkCache || !$this->latestBacklinkCache->getPage()->isSamePageAs( $page ) ) {
72 $this->linksMigration,
76 $this->restrictionStore,
81 return $this->latestBacklinkCache;
if(!defined('MW_SETUP_CALLBACK'))