/** * Cache result of ApiArticleFeedbackv5Utils::getRevisionLimit to avoid * multiple fetches. * * @param $pageID int the page id * @return int the oldest revision to still count */ public function getRevisionLimit($pageId) { if ($this->revision_limit === null) { $this->revision_limit = ApiArticleFeedbackv5Utils::getRevisionLimit($pageId); } return $this->revision_limit; }