Mailing List Archive

Namespace aliases
[fr]
C'est maintenent possible de faire un lien par un 'namespace alias' au
wiki nouveau, selon les besoins de la langue. Par example, en français
[[Wikipedia:Rapport d'erreurs]] donne [[Wikipédia:Rapport d'erreurs]]
sans peine.

(vois: http://fr.wikipedia.org/wiki/Testing )

[en]
I've made a tweak to Title::secureAndSplit() to allow a customized
Language::getNsIndex() to provide aliases for namespaces.

So for French, a link to eg [[Wikipedia:Rapport d'erreurs]] can now
transparently go to [[Wikipédia:Rapport d'erreurs]].

(see http://fr.wikipedia.org/wiki/Testing )

I _think_ this is safe -- the loop I took out from secureAndSplit()
duplicated the default behavior of getNsIndex() anyway -- but Lee,
please check it over. It's in CVS, but I didn't install it except on the
French test wiki.

-- brion vibber (brion @ pobox.com)