[Pmwiki-users] Re: Problem with tree searches

Stefan Candea stefan
Tue Oct 19 16:24:54 CDT 2004


>
>    /
>    |-- A
>    |   |-- b
>    |   |   '-- 1	<-- current page
>    |   '-- B
>    |       '-- c
>    |           '-- 2	<-- new destination of [[B/c/2]] on page /A/b/1
>    '-- B
>        '-- c
>            '-- 2
>
> The link [[B/c/2]] now points to another page, and the problem to me here
> is that a normal author can inadvertenly break links in more or less
> unrelated pages.
>
> /Christian

Complexity, sometimes, can be achieved by having simple, clear rules.
Like:

a) for pages at the same level or below, always use relative links (one
could still use absolute path)

b) for pages above or in other branches, always use absolute links.

I think that should be simple enough (and no parenting/level dots e.g. ../
or ./ which can potentially break things)

... just an example

--
Stefan






More information about the pmwiki-users mailing list