Lines Matching refs:rev
96 * @param Revision $rev
99 protected function getBannerText($name, $rev, $diff = '')
101 if ($rev === null) {
106 '{user}' => userlink($rev->getUser()),
107 '{revision}' => $this->makeLink($rev->getId(), $rev->getRev(), dformat($rev->getRev())),
108 '{datetime}' => $this->makeLink($rev->getId(), $rev->getRev(), dformat($rev->getTimestamp())),
109 '{version}' => hsc($rev->getVersion()),
117 if ($diff && $diff !== $rev->getRev()) {
118 $link = wl($rev->getId(), ['do' => 'diff', 'rev2[0]' => $rev->getRev(), 'rev2[1]' => $diff]);
132 * @param int $rev revision to link to
136 protected function makeLink($id, $rev, $text)
138 $url = wl($id, ['rev' => $rev]);