예제 #1
0
 public function execute()
 {
     $sitesCacheFileBuilder = new SitesCacheFileBuilder(new DBSiteStore(), $this->getCacheFile());
     $sitesCacheFileBuilder->build();
 }
예제 #2
0
 public function execute()
 {
     $sitesCacheFileBuilder = new SitesCacheFileBuilder(\MediaWiki\MediaWikiServices::getInstance()->getSiteLookup(), $this->getCacheFile());
     $sitesCacheFileBuilder->build();
 }