Home
last modified time | relevance | path

Searched refs:ns (Results 1 – 25 of 45) sorted by relevance

12

/dokuwiki/_test/tests/Search/Query/
H A DNamespacePredicateTest.php27 $ns = new NamespacePredicate('wiki:');
28 $this->assertEquals('wiki:', $ns->getPrefix());
33 $ns = new NamespacePredicate('wiki:');
34 $result = $ns->filter($this->pages);
45 $ns = new NamespacePredicate('wiki:');
46 $result = $ns->filter($this->pages);
58 $ns = new NamespacePredicate('other:');
59 $result = $ns->filter($pages);
66 $ns = new NamespacePredicate('wiki:');
67 $result = $ns->exclude($this->pages);
[all …]
/dokuwiki/inc/Ui/
H A DIndex.php12 protected $ns; variable in dokuwiki\\Ui\\Index
17 * @param string $ns namespace
19 public function __construct($ns = '') argument
21 $this->ns = $ns;
50 $ns = cleanID($this->ns);
51 if (empty($ns)) {
52 $ns = getNS($ID);
53 if ($ns === false) $ns = '';
55 $ns = utf8_encodeFN(str_replace(':', '/', $ns));
57 search($data, $conf['datadir'], 'search_index', ['ns' => $ns]);
H A DSearchState.php38 * @param string $ns the namespace to which to limit the search, falsy to remove the limitation
43 public function withNamespace($ns, array $notns = []) argument
46 $parsedQuery['ns'] = $ns ? [$ns] : [];
H A DSubscribe.php71 $ns = getNS($ID) . ':';
74 $ns => '<code class="ns">' . prettyprint_id($ns) . '</code>',
H A DSearch.php325 foreach ($extraNS as $ns => $count) {
327 $label = hsc($ns) . ($count ? " <bdi>($count)</bdi>" : '');
329 if ($ns === $baseNS) {
333 $link = $this->searchState->withNamespace($ns)->getSearchLink($label);
513 if (!useHeading('navigation') && $ns = getNS($id)) {
514 $name = shorten(noNS($id), ' (' . $ns . ')', 30);
608 * @param false|string $ns the namespace to which to restrict the query
612 protected function restrictQueryToNSLink($ns) argument
614 if (!$ns) {
620 if (!empty($this->parsedQuery['ns']) && $this->parsedQuery['ns'][0] === $ns) {
[all …]
/dokuwiki/lib/plugins/acl/
H A Daction.php68 $ns = $INPUT->str('ns');
69 if ($ns == '*') {
70 $ns = '';
72 $ns = cleanID($ns);
73 $lvl = count(explode(':', $ns));
74 $ns = utf8_encodeFN(str_replace(':', '/', $ns));
76 $data = $acl->makeTree($ns, $ns);
H A Dadmin.php22 protected $ns; variable in admin_plugin_acl
72 $this->ns = '*';
74 $this->ns = cleanID($INPUT->str('ns'));
81 } elseif ($this->ns) {
82 $this->current_item = ['id' => $this->ns, 'type' => 'd'];
111 if ($this->ns) {
112 if ($this->ns == '*') {
115 $scope = $this->ns . ':*';
219 if ($this->ns) $opts['ns'] = $this->ns;
237 $ns = $this->ns;
[all …]
/dokuwiki/inc/
H A DAjax.php69 $ns = getNS($id);
70 if ($ns) {
71 $name = noNS($id) . ' (' . $ns . ')';
196 $ns = cleanID($INPUT->post->str('ns'));
197 $dir = utf8_encodeFN(str_replace(':', '/', $ns));
199 $lvl = count(explode(':', $ns));
284 $ns = $NS . ':' . getNS($id);
286 $AUTH = auth_quickaclcheck("$ns:*");
288 io_createNamespace("$ns:xxx", 'media');
300 'link' => media_managerURL(['ns' => $ns, 'image' => $NS . ':' . $id], '&'),
[all …]
H A Dchangelog.php164 * @param string $ns restrict to given namespace
171 function getRecents($first, $num, $ns = '', $flags = 0) argument
207 $rec = _handleRecentLogLine(@$lines[$lines_position], $ns, $flags, $seen);
216 $ns,
266 * @param string $ns restrict to given namespace (optional)
273 function getRecentsSince($from, $to = null, $ns = '', $flags = 0) argument
297 $rec = _handleRecentLogLine($line, $ns, $flags, $seen);
323 * @param string $ns restrict to given namespace
328 function _handleRecentLogLine($line, $ns, $flags, &$seen) argument
352 if (($ns) && (!str_starts_with($recent['id'], $ns . ':'))) return false;
[all …]
H A Dmedia.php308 * @param string $ns target namespace
312 function media_upload_xhr($ns, $auth) argument
333 $ns . ':' . $id,
353 * @param string $ns target namespace
358 function media_upload($ns, $auth, $file = false) argument
390 $ns . ':' . $id,
706 * @param string $ns namespace
712 function media_filelist($ns, $auth = null, $jump = '', $fullscreenview = false, $sort = false) argument
716 $ns = cleanID($ns);
719 if (is_null($auth)) $auth = auth_quickaclcheck("$ns:*");
[all …]
H A Dpageutils.php506 * @param string $ns namespace which is context of id
511 function resolve_id($ns, $id, $clean = true) argument
525 $id = $ns . ':' . $id;
544 } elseif ($ns !== false && !str_contains($id, ':')) {
546 $id = $ns . ':' . $id;
556 * @param string $ns namespace which is context of id
563 function resolve_mediaid($ns, &$media, &$exists, $rev = '', $date_at = false) argument
566 $resolver = new MediaResolver("$ns:deprecated");
575 * @param string $ns namespace which is context of id
581 function resolve_pageid($ns, &$page, &$exists, $rev = '', $date_at = false) argument
[all …]
/dokuwiki/inc/lang/gl/
H A Dnorev.txt3 …ecificada non existe. Utiliza o botón de ''Revisións Antigas'' para obteres unha listaxe das revis…
H A Drevisions.txt1 ======Revisións Antigas======
3 Estas son as revisións antigas do documento actual. Para retomar unha revisión antiga selecciónaa n…
H A Dadminplugins.txt1 ===== Extensións adicionais =====
H A Dbacklinks.txt1 ====== Ligazóns entrantes ======
H A Dsubscr_form.txt3 Esta páxina permíteche xestionar as túas subscricións para a páxina e nome de espazo actuais.
H A Dsubscr_list.txt10 Para cancelares as notificacións da páxina inicia sesión no wiki en
H A Dsubscr_digest.txt13 Para cancelares as notificacións da páxina inicia sesión no wiki en
/dokuwiki/lib/plugins/config/lang/gl/
H A Dintro.txt5ns que amosan un fondo de cor vermella clara están protexidas e non poden ser alteradas con esta e…
/dokuwiki/inc/Search/
H A DMetadataSearch.php72 $ns = $parsedQuery['ns'] ? cleanID($parsedQuery['ns'][0]) . ':' : null;
74 $query = ($ns || $notns) ? implode(' ', $parsedQuery['highlight']) : $data['id'];
82 if ($ns && !str_starts_with($page, $ns)) continue;
100 if ($ns && !str_starts_with($page, $ns)) continue;
/dokuwiki/inc/Ui/Media/
H A DDisplay.php115 * @param string|null $ns Use null to disable
117 public function relativeDisplay($ns) argument
119 $this->relativeDisplay = $ns;
/dokuwiki/_test/tests/inc/
H A Dmedia_searchlist.test.php62 protected function media_searchlist($query, $ns) argument
65 media_searchlist($query, $ns);
/dokuwiki/inc/TreeBuilder/
H A DPageTreeBuilder.php162 $ns = $id;
165 $node = new WikiStartpage($id, $title, $ns);
225 * @param string $ns The namespace to get the start page for
228 protected function getStartpage(string $ns): string argument
230 $id = $ns . ':';
/dokuwiki/inc/Feed/
H A DFeedCreator.php119 $ns = ':' . cleanID($this->options->get('namespace'));
120 $ns = utf8_encodeFN(str_replace(':', '/', $ns));
133 $ns,
/dokuwiki/lib/plugins/popularity/lang/gl/
H A Dintro.txt3 …se emprega o DokuWiki por parte dos seus usuarios, e asegura que as decisións de desenvolvemento f…
7 …do teu Dokuwiki, o número e tamaño das túas páxinas e arquivos, as extensións instaladas e informa…

12