[dokuwiki] Re: Wrong parent namespace gets picked with relative links

On 6/25/06, Andreas Gohr <andi@xxxxxxxxxxxxxx> wrote:

On Sun, 25 Jun 2006 16:45:05 +0200 "Stefan Hållén" <stefan.hallen@xxxxxxxxx> wrote:

> I've recently installed a dokuwiki at our site, and for some reason I
> am having issues with namespaces in links. Have a look at for
> instance:
>
http://www.synthmaker.com/dokuwiki/doku.php?id=tips_and_tricks:tips_and_tricks
>
> The link looks like this: [[.Retrigger Workaround:Retrigger
> Workaround]], but for some reason you get the following link
> generated:
>
http://www.synthmaker.com/dokuwiki/doku.php?id=retrigger_workaround:retrigger_workaround
>
> Where did "tips and tricks:" go?

good question. The interesting thing is that it works in preview, if you
preview the correct link is created.

My guess is that there is something polluting the global $ID in the
normal view. It could be your template. Can you try switching to the
default and see what happens? It could be one of the installed syntax
plugins as well.

Andi


Thank you for such a prompt reply.

I'm using the sidebar template. When I went back to the default all the
links seemed fine, then I set it back to the sidebar template again and they
still seem fine. Thing is though that the links always seem fine when they
are just created (and not just in preview) but then they get messed up.
Sometimes resaving the page has corrected the links, sometimes not.

As to syntax plugins, I got "content" (
http://wiki.splitbrain.org/plugin:content ) (for the Most Recent stuff, it
acts buggy though since it creates faulty <a> tags) installed and used. But
that's it, it is a very fresh install after all.

Other related posts: