Last modified: 2012-12-17 10:15:24 UTC
Hi, Is it possible to add an alarm or popup that shows when user adds incorrect namespace interwiki to other namespace? for example: when he wants to add [[de:test]] to category:test page it tells him you should add [[de:category:test]] note: it shouldn't show this alarm for who adds [[:de:test]]
It's not strange that what appears as [[Foo]] in one wiki, is at [[Annex:Foo]] in another one. The main problem however, is that you would need to know the namespaces of the target wiki. The English wiki would need to know that [[de:Kategorie:test]] is ok (category ns), but [[de:Kategoria:test]] is not (main ns). As the interwikis are agnostic about the url structure of the target site, I am leaned to WONTFIX.
Finding target name space is not so difficult it could be done by API or the same tools like http://de.wikisource.org/w/api.php?action=query&meta=siteinfo&siprop=namespaces|namespacealiases