Page MenuHomePhabricator

Provide an API module for mapping between wiki ID and the wiki's domain
Open, Needs TriagePublic


The API module should use the StiteLookup service to provide a wiki's global ID given a domain, or vice versa. In addition "local" IDs (like the interwiki prefix) could also be accepted as input.

Event Timeline

daniel created this task.Sep 17 2015, 4:21 PM
daniel raised the priority of this task from to Needs Triage.
daniel updated the task description. (Show Details)
daniel added a subscriber: daniel.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptSep 17 2015, 4:21 PM

@Anomie thanks for spotting the dupe, merged it in. The old ticket had next to no info

daniel added a comment.EditedSep 17 2015, 11:02 PM

Hm, not sure why this was abandoned. Maybe it can be revived?

Hm, not sure why this was abandoned.

This "sites" stuff was added to core in with the promise that it would someday replace the existing interwiki code. Except that has never happened, so we have this pile of code that's not actually used anywhere in core. There was opposition to adding more infrastructure in core around this unused feature, versus just removing it (and the database ORM classes that only exist in core to support it) from core entirely.

It would probably help that patch gain acceptance were it to be accompanied by an effort to actually make good on the original promise.

@Anomie I thought exactly the same thing, and filed T113034: RFC: Overhaul Interwiki map, unify with Sites and WikiMap. Comments appreciated!

Restricted Application added a subscriber: StudiesWorld. · View Herald TranscriptDec 10 2015, 11:00 PM