Lines Matching defs:page
46 * Accepts message and page ids followed by optional arguments.
682 public function addPage($page) {
683 $this->pages[$page->getId()] = $page;
684 $this->matches += count($page->getMatches());
1022 $page = new BatcheditPage(trim($pageId));
1023 $interrupted = $page->findMatches($regexp, $replacement, $limit - $this->session->getMatchCount(),
1026 if (count($page->getMatches()) > 0) {
1027 $this->session->addPage($page);
1087 array_reduce($this->session->getPages(), function ($marks, $page) {
1088 return $marks + ($page->hasMarkedMatches() && $page->hasUnappliedMatches() ? 1 : 0);
1091 foreach ($this->session->getPages() as $page) {
1092 if (!$page->hasMarkedMatches() || !$page->hasUnappliedMatches()) {
1097 $this->session->addEdits($page->applyMatches($summary, $minorEdit));
1123 if (!@file_exists($conf['indexdir'] . '/page.idx')) {
1129 $index = idx_getIndex('page', '');