Home
last modified time | relevance | path

Searched +full:page_exists +full:explode (Results 1 – 25 of 88) sorted by path

1234

/dokuwiki/bin/
H A Dwantedpages.php172 if (!page_exists($mid)) {
173 [$mid] = explode('#', $mid); //record pages without hashes
/dokuwiki/inc/Search/
H A DIndexer.php73 $oldwords = explode(':', $pageword_idx);
78 [$wlen, $wid] = explode('*', $word);
209 $val_idx = explode(':', $val_idx);
338 $parts = explode(':', $indexline);
340 [$id, $count] = explode('*', $part);
343 $keyline = explode(':', $pagekeys[$id]);
413 $delwords = explode(':', $pageword_idx);
417 [$wlen, $wid] = explode('*', $word);
438 $val_idx = explode(':', $this->getIndexKey($metaname . '_p', '', $pid));
527 $wordlist = explode(' ',
[all...]
/dokuwiki/inc/
H A Dfulltext.php159 if (isHiddenPage($id) || auth_quickaclcheck($id) < AUTH_READ || !page_exists($id, '', false)) {
197 )) || !page_exists($result[$idx], '', false)
231 )) || !page_exists($result[$idx], '', false)
340 !isVisiblePage($idx) || !page_exists($idx) ||
416 $ac = count(explode(':', $a));
417 $bc = count(explode(':', $b));
767 $tokens = explode(' ', $term);
H A Dpageutils.php85 if (page_exists($id . $conf['start'])) {
88 } elseif (page_exists($id . noNS(cleanID($id)))) {
91 } elseif (page_exists($id)) {
285 function page_exists($id, $rev = '', $clean = true, $date_at = false)
287 $id = (explode('#', $id, 2))[0]; // #3608
528 $pathA = explode(':', $id);
593 $exists = page_exists($page, $rev, false, $date_at);
765 if (page_exists($pageid) && (!$useacl || auth_quickaclcheck($pageid) >= AUTH_READ)) {
281 function page_exists($id, $rev = '', $clean = true, $date_at = false) global() function
/dokuwiki/inc/parser/
H A Dmetadata.php477 $parts = explode('?', $id, 2);
490 $this->meta['relation']['references'][$page] = page_exists($page);
541 [$wikiUri] = explode('#', $wikiUri, 2);
740 [$src] = explode('#', $src, 2);
758 [$src] = explode('#', $src, 2);
H A Dxhtml.php886 $parts = explode('?', $id, 2);
905 $exists = page_exists($id, $this->date_at, false, true);
975 [$scheme] = explode('://', $url);
1848 [$img['src']] = explode('#', $img['src'], 2);
/plugin/404manager/
H A Daction.php154 if (page_exists($targetPage)) {
185 if (page_exists($startPage)) {
191 if (page_exists($startPage)) {
334 if (page_exists($startPageNameSpace)) {
341 $pathNames = explode(':', $pageNameSpace);
458 // Explode the page ID and the anchor (#)
459 $link = explode('#', $targetPage, 2);
521 $wordsInPageSourceId = explode(':', $id);
/plugin/accscounter/
H A Dadmin.php61 $element = explode('|', $dataline);
109 if ($_REQUEST['mode'] == 'existing' and page_exists($page)) $specified = TRUE;
110 if ($_REQUEST['mode'] == 'deleted' and !page_exists($page)) $specified = TRUE;
/plugin/accscounter/syntax/
H A Dcounter.php57 if (page_exists($page) == FALSE) return $default;
71 $exlist = explode("\n", $exlist);
82 $countries = explode(',', $this->getConf('cntrExclusion'));
87 $countriesin = explode(',', $this->getConf('cntrInclusion'));
94 $ingr = explode(".", $clientIP);
125 $rexlist = explode("\n", $rexlist);
127 $cntrexlist = explode(',', $this->getConf('reverseLookupCntrException'));
174 $fp = explode("\n", $fp);
228 $element = explode('|', $dataline);
288 $element = explode('|', $dataline);
[all …]
H A Dpopularity.php46 return explode(' ', substr($match, strlen('{{POPULAR '), -2));
98 ! page_exists($page) || ! auth_quickaclcheck($page))
/plugin/autotranslation/
H A Dhelper.php31 $this->translations = array_unique(array_filter(explode(' ', $this->translations)));
39 $this->opts = explode(',', $this->opts);
74 $lang = explode(':', $ID);
89 $tnsA = explode(' ', $this->getConf('translationns'));
240 if(page_exists($link)) {
353 if(page_exists($link, '', false)) {
442 if($orev && !page_exists($orig, $orev)) $orev = 0;
467 if($orev && !page_exists($id, $orev)) {
495 if( $inputID != $link && page_exists($link,'',false) ){
/plugin/blogtng/helper/
H A Dentry.php145 if(!$this->entry['page'] or !page_exists($this->entry['page']) OR !$this->entry['blog']){
986 if (!page_exists($id)) return false;
1068 list($item,$action) = explode('_', $current, 2);
1206 if (page_exists($id)) {
/plugin/changes/
H A Dsyntax.php78 $match = explode('&', $match);
317 if ($change['extra'] != 'media' && $change['type'] != 'D' && !page_exists($change['id'])) return false;
/plugin/cloud/
H A Dsyntax.php42 list($num, $ns) = array_pad(explode('>', $match, 2), 2, '');
43 list($junk, $num) = array_pad(explode(':', $num, 2), 2, '');
50 $found = explode(',', $matches);
62 if(!is_null($ns)) $namespaces = explode('|', $ns);
123 $exists = page_exists($page);
216 $blacklist = explode(',', $blacklist);
266 $value = explode(':', $idx[$i]);
/plugin/combo/action/
H A Drouter.php591 if (page_exists($startPage)) {
600 if (page_exists($startPage)) {
680 if (page_exists($startPageNameSpace)) {
687 $pathNames = explode(':', $pageNameSpace);
861 // Explode the page ID and the anchor (#)
862 $link = explode('#', $targetIdOrUrl, 2);
972 $wordsInPageSourceId = explode(':', $id);
1122 if (page_exists($calculatedTarget)) {
/plugin/combo/syntax/
H A Dminimap.php159 $parts = explode(':', $nameSpacePath);
234 if (page_exists($nameSpacePathPrefix . $startConf)) {
377 if (page_exists($id . $conf['start'])) {
380 } elseif (page_exists($id . noNS(cleanID($id)))) {
383 } elseif (page_exists($id)) {
399 list(/* $t */, /* $p */, $c) = explode('_', $get_called_class, 3);
/plugin/deeplautotranslate/
H A Daction.php69 $split_id = explode(':', $ID);
101 $split_id = explode(':', $ID);
262 $split_id = explode(':', $ID);
273 $exists = page_exists($lang_id);
344 $split_id = explode(':', $ID);
363 $split_id = explode(':', $ID);
501 $split_id = explode(':', $ID);
518 if (!page_exists($org_id)) return false;
535 $split_id = explode(':', $ID);
719 return explode(' ',
[all...]
/plugin/directions/syntax/
H A Dcommon.php42 $path = explode($delimiter,$line);
58 …if ((!page_exists(str_replace('/',':',$source))) || (!page_exists(str_replace('/',':',$target)))) …
103 $pages = explode("->", $key);
155 $pages = explode("->", $key);
/plugin/docnavigation/syntax/
H A Dpagenav.php99 $linkstrs = explode("^", substr($match, 2, -2), 3);
103 [$link, $title] = array_pad(explode('|', $linkstr, 2), 2, null);
114 if (page_exists($ns . ':' . $conf['start'])) {
117 } elseif (page_exists($ns . ':' . noNS($ns))) {
120 } elseif (page_exists($ns)) {
138 [$link,$hash] = array_pad(explode('#', $link, 2), 2, '');
H A Dtoc.php80 $optstrs = explode(',', $optstrs);
89 list($key, $value) = array_pad(explode('=', $optstr, 2), 2, '');
97 [$start, $end] = array_pad(explode('-', $value, 2), 2, '');
227 if ($previouspage !== null && page_exists($pageid)) {
299 [$page, /* $hash */] = array_pad(explode('#', $pageid, 2), 2, '');
/plugin/dokusioc/
H A Daction.php378 if ($prevrev !== false && $prevrev > -1 && page_exists($ID, $pagerevs[$prevrev])) {
382 if ($nextrev !== false && $nextrev > -1 && page_exists($ID, $pagerevs[$nextrev])) {
421 $accepted = explode(',', $http_accept);
433 $formatspec = explode(';', $format);
608 $parts = explode('?', $uri);
619 $attr = explode($sep, $query);
/plugin/editx/
H A Daction.php77 $allowed = explode(',',$list);
224 } else if (!page_exists($opts['oldpage'])) {
237 } else if (page_exists($opts['newpage'])) {
/plugin/fastwiki/
H A Daction.php225 $pages = explode(',', $INPUT->str('fastwiki_preload_pages'));
234 if (page_exists($newid) && (auth_quickaclcheck($ID) == auth_quickaclcheck($newid)))
/plugin/gemini/
H A Dcli.php172 $_SERVER['REMOTE_ADDR'] = explode(':', $peername)[0];
173 $_SERVER['REMOTE_PORT'] = explode(':', $peername)[1];
246 if (!page_exists($id)) return false;
H A Drenderer.php268 $id = explode('?', $id, 2)[0];
269 $id = explode('#', $id, 2)[0];
273 if (page_exists($id)) {

1234