Home
last modified time | relevance | path

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

12

/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.php36 * @param string $ns the namespace to which to limit the search, falsy to remove the limitation
41 public function withNamespace($ns, array $notns = []) argument
44 $parsedQuery['ns'] = $ns ? [$ns] : [];
H A DSubscribe.php71 $ns = getNS($ID) . ':';
74 $ns => '<code class="ns">' . prettyprint_id($ns) . '</code>',
H A DSearch.php324 foreach ($extraNS as $ns => $count) {
326 $label = hsc($ns) . ($count ? " <bdi>($count)</bdi>" : '');
328 if ($ns === $baseNS) {
332 $link = $this->searchState->withNamespace($ns)->getSearchLink($label);
512 if (!useHeading('navigation') && $ns = getNS($id)) {
513 $name = shorten(noNS($id), ' (' . $ns . ')', 30);
606 * @param false|string $ns the namespace to which to restrict the query
610 protected function restrictQueryToNSLink($ns) argument
612 if (!$ns) {
618 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) && (strpos($recent['id'], $ns . ':') !== 0)) return false;
[all …]
H A Dmedia.php305 * @param string $ns target namespace
309 function media_upload_xhr($ns, $auth) argument
330 $ns . ':' . $id,
350 * @param string $ns target namespace
355 function media_upload($ns, $auth, $file = false) argument
387 $ns . ':' . $id,
703 * @param string $ns namespace
709 function media_filelist($ns, $auth = null, $jump = '', $fullscreenview = false, $sort = false) argument
713 $ns = cleanID($ns);
716 if (is_null($auth)) $auth = auth_quickaclcheck("$ns:*");
[all …]
H A Dpageutils.php505 * @param string $ns namespace which is context of id
510 function resolve_id($ns, $id, $clean = true) argument
524 $id = $ns . ':' . $id;
543 } elseif ($ns !== false && strpos($id, ':') === false) {
545 $id = $ns . ':' . $id;
555 * @param string $ns namespace which is context of id
562 function resolve_mediaid($ns, &$media, &$exists, $rev = '', $date_at = false) argument
565 $resolver = new MediaResolver("$ns:deprecated");
574 * @param string $ns namespace which is context of id
580 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/Ui/Media/
H A DDisplay.php67 * @param string|null $ns Use null to disable
69 public function relativeDisplay($ns) argument
71 $this->relativeDisplay = $ns;
/dokuwiki/inc/TreeBuilder/
H A DPageTreeBuilder.php154 $ns = $id;
157 $node = new WikiStartpage($id, $title, $ns);
212 * @param string $ns The namespace to get the start page for
215 protected function getStartpage(string $ns): string argument
217 $id = $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/Feed/
H A DFeedCreator.php125 $ns = ':' . cleanID($this->options->get('namespace'));
126 $ns = utf8_encodeFN(str_replace(':', '/', $ns));
139 $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…
/dokuwiki/inc/Action/
H A DSearch.php96 $ns = implode(':', array_slice($nsParts, 0, $conf['search_nslimit']));
97 $QUERY .= " @$ns";
/dokuwiki/lib/plugins/revert/lang/gl/
H A Dintro.txt3 …go confirmares que as páxinas atopadas conteñen realmente o tal correo-lixo e reverter as edicións.

12