Page MenuHomePhabricator

adding alarm for cross namespace interwiki mistakes
Open, LowPublicFeature

Description

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]]


Version: 1.21.x
Severity: enhancement

Details

Reference
bz43178

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 12:50 AM
bzimport set Reference to bz43178.
bzimport added a subscriber: Unknown Object (MLST).

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

Aklapper changed the subtype of this task from "Task" to "Feature Request".Feb 4 2022, 11:13 AM