Extension talk:Polyglot/Archive

Bug report
I tried to use your extension by creating a page XYZ/de in addition to a page called XYZ, and the link I get in the 'in other languages' is showing the text "De:XYZ/de", and points to the "De:XYZ/de" page, which obviously is wrong.

Note that I am using MW 1.9.2.


 * Yes, this will not work in 1.9; I'm overriding MediaWiki's default handling of interlanguage-links using a hook that doesn't yet exist in 1.9 -- Duesentrieb ⇌ 20:32, 25 April 2007 (UTC)

Switching vom Events/de to Events/th
If I for example select a page "Events" with language "de" it is redirected to "Events/de" as expected, but if I than change the the language to "th" I expect to see page "Events/th", but that doesn't work. I have to return to "Events" to get "Events/th". Is it possible to automatically cut off the language code if it already exist to allow a switch from one language to another?