[Mediawiki-l] '/' trick in subpage links
robchur at gmail.com
Wed Jan 24 18:04:34 UTC 2007
On 24/01/07, Ittay Dror <ittayd at qlusters.com> wrote:
> if i use '[[../../a/b/]]', the text is a/b
That sounds like a bug.
> i think it is more logical, that in the second case, the text will be 'b'. that is, the last path componont, not just the part without dotdot. i think it is better, since adding '/' at the end strips some path components anyway.
No, because pages don't exist in "paths" - pages exist as a whole.
Therefore, the default link text should consistently and reliably
inform the user where they are going.
There might be some scope to sort out the pipe trick to work properly
with subpages, though, but then one reaches the obvious problem of how
much of the title to exclude.
More information about the MediaWiki-l