Home
last modified time | relevance | path

Searched full:pages (Results 1 – 25 of 118) sorted by relevance

12345

/dokuwiki/inc/Search/Query/
H A DPageSet.php6 * A set of pages with associated scores
15 protected array $pages; variable in dokuwiki\\Search\\Query\\PageSet
18 * @param array<string, int> $pages page ID => score
20 public function __construct(array $pages = []) argument
22 $this->pages = $pages;
30 return $this->pages;
34 * Intersect with another PageSet, summing scores for pages present in both
36 * @return self pages present in both sets
42 foreach ($this->pages as $id => $score) {
51 * Unite with another PageSet, summing scores where pages overlap
[all …]
H A DNamespacePredicate.php6 * A namespace prefix used to filter pages by their ID
32 * Keep only pages whose ID starts with this namespace prefix
34 public function filter(PageSet $pages): PageSet argument
37 $pages->getPages(),
45 * Keep only pages whose ID does NOT start with this namespace prefix
47 public function exclude(PageSet $pages): PageSet argument
50 $pages->getPages(),
H A DQueryEvaluator.php26 /** @var PageSet|null lazy-loaded universe of all indexed pages */
40 * Evaluate the RPN query and return matching pages with scores
81 // so the top of stack contains pages matching all words in the phrase.
82 // We verify the actual phrase exists in those candidate pages.
180 * - NegatedEntry(NamespacePredicate): exclude pages matching the namespace
182 * @param PageSet $pages the positive page set
186 protected function subtractNegated(PageSet $pages, NegatedEntry $negated): PageSet argument
191 return $inner->exclude($pages);
194 return $pages->subtract($this->materialize($inner));
202 * Check which pages from the candidate set contain the given phrase
[all …]
/dokuwiki/_test/tests/Search/
H A DMetadataSearchTest.php14 * pageLookup finds pages by name, respects namespace filters, and searches titles with UTF-8
37 * filterPages removes non-existent pages
43 $pages = ['wiki:existing' => true, 'wiki:nonexistent' => true];
44 $result = MetadataSearch::filterPages($pages);
51 * filterPages respects hidden pages setting
61 $pages = ['hidden:page' => true, 'visible:page' => true];
63 // default: hidden pages are filtered
64 $result = MetadataSearch::filterPages($pages);
68 // ignorePerms: hidden pages are kept
69 $result = MetadataSearch::filterPages($pages, true);
[all …]
/dokuwiki/inc/Search/
H A DMetadataSearch.php64 * Returns list of pages as array(pageid => First Heading)
79 // find pages matching by page name
80 $pages = [];
87 $pages[$page] = p_get_first_heading($page, METADATA_DONT_RENDER);
91 // additionally find pages matching by title
103 if (!isset($pages[$page])) {
104 $pages[$page] = $titles[0];
110 $pages = static::filterPages($pages, false, $data['after'], $data['before']);
111 uksort($pages, $this->pagesorter(...));
112 return $pages;
[all …]
/dokuwiki/_test/tests/Search/Query/
H A DNamespacePredicateTest.php10 protected PageSet $pages; variable in dokuwiki\\test\\Search\\Query\\NamespacePredicateTest
15 $this->pages = new PageSet([
34 $result = $ns->filter($this->pages);
46 $result = $ns->filter($this->pages);
54 $pages = new PageSet([
59 $result = $ns->filter($pages);
67 $result = $ns->exclude($this->pages);
87 $result = $ns->filter($this->pages);
95 $result = $ns->exclude($this->pages);
97 // all pages should remain
[all …]
/dokuwiki/_test/tests/inc/
H A Dpageutils_wikiFN.test.php7 … $this->assertEquals(wikiFN('wiki:',null,false), TestUtils::w2u(DOKU_TMP_DATA.'pages/wiki/.txt'));
8 … $this->assertEquals(wikiFN('wiki:',null,true), TestUtils::w2u(DOKU_TMP_DATA.'pages/wiki.txt'));
12 … $this->assertEquals(wikiFN('wiki:',null,true), TestUtils::w2u(DOKU_TMP_DATA.'pages/wiki.txt'));
13 … $this->assertEquals(wikiFN('wiki:',null,false), TestUtils::w2u(DOKU_TMP_DATA.'pages/wiki/.txt'));
/dokuwiki/bin/
H A Dwantedpages.php14 * Find wanted pages
36 'Outputs a list of wanted pages (pages that do not exist yet) and their origin pages ' .
37 ' (the pages that are linkin to these missing pages).'
123 * Collects recursively the pages in a namespace
141 $pages = [];
148 $pages = array_merge($pages, $this->getPages($dir . '/' . $entry));
151 $pages[] = $page;
155 return $pages;
173 [$mid] = explode('#', $mid); //record pages without hashes
/dokuwiki/lib/plugins/revert/lang/fr/
H A Dintro.txt3pages après une attaque de spam. Pour trouver la liste des pages vandalisées, entrez un motif de r…
/dokuwiki/inc/Remote/
H A DApiCore.php50 'core.listPages' => new ApiCall($this->listPages(...), 'pages'),
51 'core.searchPages' => new ApiCall($this->searchPages(...), 'pages'),
52 'core.getRecentPageChanges' => new ApiCall($this->getRecentPageChanges(...), 'pages'),
54 'core.getPage' => (new ApiCall($this->getPage(...), 'pages')),
55 'core.getPageHTML' => (new ApiCall($this->getPageHTML(...), 'pages')),
56 'core.getPageInfo' => (new ApiCall($this->getPageInfo(...), 'pages')),
57 'core.getPageHistory' => new ApiCall($this->getPageHistory(...), 'pages'),
58 'core.getPageLinks' => new ApiCall($this->getPageLinks(...), 'pages'),
59 'core.getPageBackLinks' => new ApiCall($this->getPageBackLinks(...), 'pages'),
61 'core.lockPages' => new ApiCall($this->lockPages(...), 'pages'),
[all …]
/dokuwiki/inc/lang/fr/
H A Dbacklinks.txt1 ====== Pages pointant sur la page en cours ======
3 Ceci est la liste des pages qui semblent pointer sur la page actuelle.
H A Dinstall.html7 pages du wiki et les autres informations associées à ces pages (par
22 les utilisateurs, gérer les accès aux pages du wiki et modifier les
H A Drecent.txt3 Voici la liste des pages modifiées récemment :
/dokuwiki/lib/plugins/revert/lang/en/
H A Dintro.txt3 … attack. To find a list of spammy pages first enter a search string (eg. a spam URL), then confirm…
H A Dlang.php12 $lang['filter'] = 'Search spammy pages';
13 $lang['revert'] = 'Revert selected pages';
/dokuwiki/lib/plugins/acl/lang/en/
H A Dhelp.txt3 On this page you can add and remove permissions for namespaces and pages in your wiki.
4 * The left pane displays all available namespaces and pages.
/dokuwiki/lib/plugins/acl/lang/fr/
H A Dhelp.txt3 Cette page vous permet d'ajouter ou de supprimer des autorisations pour les catégories et les pages
5 * Le panneau de gauche liste toutes les catégories et les pages disponibles.
/dokuwiki/inc/lang/en/
H A Dinstall.html3 …Wiki uses ordinary files for the storage of wiki pages and other information associated with those…
5 …dmin menu for installing plugins, managing users, managing access to wiki pages and alteration of …
H A Dsubscr_list.txt3 Pages in the namespace @PAGE@ of the @TITLE@ wiki changed.
4 Here are the changed pages:
H A Drecent.txt3 The following pages were changed recently:
/dokuwiki/inc/TreeBuilder/
H A DPageTreeBuilder.php14 * A tree builder for wiki pages and namespaces
17 * of wiki pages and namespaces.
24 /** @var array Used to remember already seen start pages */
33 /** @var int Do not return pages */
36 /** @var int Do not filter out hidden pages */
42 /** @var int Do not filter out pages/namespaces with invalid IDs */
111 // Process pages (files)
173 * Process pages (files) and add them to the hierarchy
189 // Skip already shown start pages
194 // Skip pages with invalid IDs (e.g., __template.txt)
/dokuwiki/lib/tpl/dokuwiki/lang/en/
H A Dlang.php7 $lang['__existing__'] = 'The color for links to existing pages';
8 $lang['__missing__'] = 'The color for links to non-existing pages';
/dokuwiki/lib/tpl/dokuwiki/lang/fr/
H A Dlang.php13 $lang['__existing__'] = 'Couleur des liens pour les pages existantes';
14 $lang['__missing__'] = 'Couleur des liens pour les pages inexistantes';
/dokuwiki/_test/tests/Search/Collection/
H A DCollectionSearchTest.php138 $pages = array_keys($term->getEntityFrequencies());
139 sort($pages);
140 $this->assertEquals(['wiki:other', 'wiki:start'], $pages);
159 $pages = array_keys($term->getEntityFrequencies());
160 sort($pages);
162 $this->assertEquals(['wiki:other', 'wiki:start'], $pages);
190 $pages = array_keys($term->getEntityFrequencies());
191 sort($pages);
192 $this->assertEquals(['wiki:other', 'wiki:start'], $pages);
266 $pages = array_keys($term->getEntityFrequencies());
[all …]
/dokuwiki/inc/Sitemap/
H A DMapper.php25 * Builds a Google Sitemap of all public pages known to the indexer
60 $pages = (new Indexer())->getAllPages();
61 Logger::debug('Sitemapper::generate(): creating sitemap using ' . count($pages) . ' pages');
65 foreach ($pages as $id) {

12345