Lines Matching defs:rev
16 public function resolveId($id, $rev = '', $isDateAt = false)
30 $id = parent::resolveId($id, $rev, $isDateAt);
31 $id = $this->resolveStartPage($id, $rev, $isDateAt);
33 $id = $this->resolveAutoPlural($id, $rev, $isDateAt);
49 * @param string|int|false $rev
53 protected function resolveStartPage($id, $rev, $isDateAt)
59 if (page_exists($id . $conf['start'], $rev, true, $isDateAt)) {
62 } elseif (page_exists($id . noNS(cleanID($id)), $rev, true, $isDateAt)) {
65 } elseif (page_exists(substr($id, 0, -1), $rev, true, $isDateAt)) {
78 * @param int $rev
82 protected function resolveAutoPlural($id, $rev, $isDateAt)
84 if (page_exists($id, $rev, $isDateAt)) return $id;
92 if (page_exists($try, $rev, true, $isDateAt)) {