diff --git a/syntax/archive.php b/syntax/archive.php index c3c8169..f21da11 100644 --- a/syntax/archive.php +++ b/syntax/archive.php @@ -53,13 +53,6 @@ function handle($match, $state, $pos, Doku_Handler $handler) { if ($ns == '') $ns = cleanID($this->getConf('namespace')); elseif (($ns == '*') || ($ns == ':')) $ns = ''; elseif ($ns == '.') $ns = getNS($ID); - elseif (preg_match('/^\.:/', $ns)){ - if (getNS(getID())) { - $ns = getNS($ID) . ltrim($ns, "."); - } else { - $ns = ltrim($ns, ".:"); - } - } else $ns = cleanID($ns); // daily archive diff --git a/syntax/autoarchive.php b/syntax/autoarchive.php index 839bcdb..5139fcf 100644 --- a/syntax/autoarchive.php +++ b/syntax/autoarchive.php @@ -37,13 +37,6 @@ function handle($match, $state, $pos, Doku_Handler $handler) { if ($ns == '') $ns = cleanID($this->getConf('namespace')); elseif (($ns == '*') || ($ns == ':')) $ns = ''; elseif ($ns == '.') $ns = getNS($ID); - elseif (preg_match('/^\.:/', $ns)){ - if (getNS(getID())) { - $ns = getNS($ID) . ltrim($ns, "."); - } else { - $ns = ltrim($ns, ".:"); - } - } else $ns = cleanID($ns); return array($ns, $flags, $refine, $pos); diff --git a/syntax/blog.php b/syntax/blog.php index 325b1c2..4311330 100644 --- a/syntax/blog.php +++ b/syntax/blog.php @@ -49,13 +49,6 @@ function handle($match, $state, $pos, Doku_Handler $handler) { if ($ns == '') $ns = cleanID($this->getConf('namespace')); elseif (($ns == '*') || ($ns == ':')) $ns = ''; elseif ($ns == '.') $ns = getNS($ID); - elseif (preg_match('/^\.:/', $ns)){ - if (getNS(getID())) { - $ns = getNS($ID) . ltrim($ns, "."); - } else { - $ns = ltrim($ns, ".:"); - } - } else $ns = cleanID($ns); return array($ns, $num, $flags, $refine);