Lines Matching defs:page
29 // ensure a page revision is created when summary changes:
135 $page = $event->data['current']['last_change']['id'];
139 $res = $sqlite->query('SELECT * FROM watchcycle WHERE page=?', $page);
142 //false if page needs checking
151 $entry['page'] = $page;
180 $toupdate[] = $page;
181 $sqlite->query("UPDATE watchcycle SET $set WHERE page=?", $toupdate);
187 $sqlite->query('DELETE FROM watchcycle WHERE page=?', $page);
294 * @param array $meta metadata of the page
296 * @param int $rev revision of the last page edition by maintainer or -1 if no edition was made
311 $page = $meta['current']['last_change']['id'];
312 $changelog = new PageChangelog($page);
333 * Inform all maintainers that the page needs checking
336 * @param string $page that needs checking
338 protected function informMaintainer($def, $page)
347 $this->sendMail($mail, $page);
371 * Check if the page has to be changed
383 } // will be saved for page changes
386 //save page if summary is provided
403 $icon = $helper->getSearchResultIconHTML($event->data['page']);
420 $icon = $helper->getSearchResultIconHTML($event->data['page']);
430 * @param string $page
432 protected function sendMail($mail, $page)
437 $text = sprintf($this->getLang('mail body'), $page);
438 $link = '<a href="' . wl($page, '', true) . '">' . $page . '</a>';