function loadInfo() { if ($this->bInfoLoaded) { return; } try { $this->debug("Loading page info..." . ($this->bSkipLoadingTranslationsContent ? "(boost)" : "") . ($this->bSkipLoadingContent ? "(superboost)" : "")); if (!$this->isArchive()) { $oPage = AnwStorage::getPageByName($this->sName, $this->bSkipLoadingTranslationsContent, $this->bSkipLoadingContent); } else { $oPage = AnwStorage::getPageArchiveByName($this->sName, $this->nChangeId, $this->bSkipLoadingTranslationsContent, $this->bSkipLoadingContent); } $this->nId = $oPage->getId(); parent::doLoadInfo($oPage); } catch (AnwPageNotFoundException $e) { //page doesn't exist $this->bExists = false; } $this->bInfoLoaded = true; }