Home
last modified time | relevance | path

Searched refs:pages (Results 1 – 25 of 37) sorted by relevance

12

/dokuwiki/inc/Search/Query/
H A DPageSet.php15 protected array $pages; variable in dokuwiki\\Search\\Query\\PageSet
20 public function __construct(array $pages = []) argument
22 $this->pages = $pages;
30 return $this->pages;
42 foreach ($this->pages as $id => $score) {
57 $result = $this->pages;
71 return new self(array_diff_key($this->pages, $other->getPages()));
79 return $this->pages === [];
H A DNamespacePredicate.php34 public function filter(PageSet $pages): PageSet argument
37 $pages->getPages(),
47 public function exclude(PageSet $pages): PageSet argument
50 $pages->getPages(),
H A DQueryEvaluator.php182 * @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));
281 $pages = (new Indexer())->getAllPages();
282 $this->allPages = new PageSet(array_fill_keys($pages, 0));
/dokuwiki/_test/tests/Search/
H A DMetadataSearchTest.php43 $pages = ['wiki:existing' => true, 'wiki:nonexistent' => true];
44 $result = MetadataSearch::filterPages($pages);
61 $pages = ['hidden:page' => true, 'visible:page' => true];
64 $result = MetadataSearch::filterPages($pages);
69 $result = MetadataSearch::filterPages($pages, true);
94 $pages = ['public:page' => true, 'secret:page' => true];
96 $result = MetadataSearch::filterPages($pages);
100 $result = MetadataSearch::filterPages($pages, true);
113 $pages = ['wiki:timepage' => true];
116 $result = MetadataSearch::filterPages($pages, false, $mtime + 100);
[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);
98 $this->assertEquals($this->pages->getPages(), $result->getPages());
[all …]
/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/Search/
H A DMetadataSearch.php80 $pages = [];
87 $pages[$page] = p_get_first_heading($page, METADATA_DONT_RENDER);
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;
224 * @param array $pages pages to filter (keys are page IDs)
231 array $pages, argument
239 … return array_filter($pages, static function ($value, $id) use ($ignorePerms, $after, $before) {
/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/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…
/dokuwiki/inc/lang/en/
H A Drecent.txt3 The following pages were changed recently:
H A Dindex.txt3 This is a sitemap over all available pages ordered by [[doku>namespaces|namespaces]].
H A Dbacklinks.txt3 This is a list of pages that seem to link back to the current page.
H A Dsubscr_list.txt4 Here are the changed pages:
/dokuwiki/bin/
H A Dwantedpages.php141 $pages = [];
148 $pages = array_merge($pages, $this->getPages($dir . '/' . $entry));
151 $pages[] = $page;
155 return $pages;
/dokuwiki/inc/lang/fr/
H A Drecent.txt3 Voici la liste des pages modifiées récemment :
H A Dbacklinks.txt3 Ceci est la liste des pages qui semblent pointer sur la page actuelle.
H A Dindex.txt3 Voici un plan du site de toutes les pages disponibles, triées par [[doku>fr:namespaces|catégories]].
H A Dsubscr_list.txt3 Des pages de la catégorie « @PAGE@ » du wiki « @TITLE@ » ont
/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/inc/Sitemap/
H A DMapper.php60 $pages = (new Indexer())->getAllPages();
61 Logger::debug('Sitemapper::generate(): creating sitemap using ' . count($pages) . ' pages');
65 foreach ($pages as $id) {
/dokuwiki/inc/Remote/
H A DApiCore.php297 $pages = (new Indexer())->getAllPages();
298 Sort::ksort($pages);
300 foreach (array_keys($pages) as $idx) {
301 $perm = auth_quickaclcheck($pages[$idx]);
302 if ($perm < AUTH_READ || isHiddenPage($pages[$idx]) || !page_exists($pages[$idx])) {
306 $page = new Page($pages[$idx], 0, 0, '', null, $perm);
333 $pages = [];
345 $pages[] = new PageHit(
352 return $pages;
597 * @param string[] $pages A list of pages to lock
[all …]
H A DLegacyApiCore.php179 $pages = $this->listPages('', 0);
182 foreach ($pages as $page) {
222 $pages = [];
225 $pages[] = [
236 return $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/
H A DAjax.php367 $pages = (new MetadataSearch())->pageLookup($id, true);
372 $pages = array_merge($pages, (new MetadataSearch())->pageLookup($q, true, true));
373 asort($pages, SORT_STRING);
381 foreach ($pages as $pid => $title) {
389 unset($pages[$pid]);
/dokuwiki/_test/tests/Search/data/
H A Dsearchtest.txt10 The playground namespace contains example pages for testing purposes.

12