Lines Matching defs:pages
56 'pages' => array(),
338 // store what pages are affected by this move
414 * Returns the list of page and media moves and the affected pages as a HTML list
461 * Step through the next bunch of pages or media files
530 * Step through the next bunch of pages that need link corrections
538 // handle affected pages
558 * Step through all the links to missing pages that should be moved
560 * This simply adds the moved missing pages to all affected pages meta data. This will add
561 * the meta data to pages not linking to the affected pages but this should still be faster
562 * than figuring out which pages need this info.
564 * This does not step currently, but handles all pages in one step.
597 $Rewriter->setMoveMetas($page, $miss, 'pages');
689 $store = 'pages';
704 * Add the list of pages to the list of affected pages whose links need adjustment
706 * @param string|array $pages
708 protected function addToAffectedPagesList($pages) {
709 if(!is_array($pages)) $pages = array($pages);
711 foreach($pages as $page) {
719 * Looks up pages that will be affected by a move of $src
737 $pages = array();
739 $pages = $idx->lookupKey('relation_references', $src_);
741 foreach($pages as &$page) {
748 $pages = $idx->lookupKey('relation_media', $src_);
751 $this->addToAffectedPagesList($pages);
755 * Find missing pages in the $src namespace
780 // remember missing pages
802 'pages' => $this->files['pagelist'],
820 $data .= "$src\n"; // for affected pages only one ID is saved
889 // do pages before media