if i use '[[../../a/b]]', the link's text is ../../a/b. if i use '[[../../a/b/]]', the text is a/b
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.
Brion Vibber wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Ittay Dror wrote:
putting '/' at the end works by just removing the ../ or / prefixes from the link text. so [[../../a/b/]] becomes a/b. isn't it more logical for it to become 'b'? the meaning of '/' at the end then behaves like 'basename' shell command.
What?
- -- brion vibber (brion @ pobox.com / brion @ wikimedia.org)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFtwUCwRnhpk1wk44RApJkAKCRueznIu6uCDGDgmZQn2Jc52BzfQCeNw2l pU/xi6fbUnj4S7bqfdgLzSo= =i+Mk -----END PGP SIGNATURE-----
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l