Page MenuHomePhabricator

[Story] Wikibase should accept domain names instead of internal wiki IDs in API parameters.
Closed, DeclinedPublic

Description

Clients have no good way to know the internal ID associated with a wiki, but they usually know the wiki's domain name. API modules that expect an internal wiki id, such as wbsetsitelink, should accept the domain as an alternative to the internal wiki ID. This should also work for addressing items by wiki+title, where we currently require the wiki id.

When resolving the ID, we could either fall back to lookup by domain if lookup by global ID fails, or we could choose the lookup strategy by identifier sytanx: domain names always contain a ".", internal IDs never do.

Event Timeline

daniel raised the priority of this task from to Needs Triage.
daniel updated the task description. (Show Details)
daniel added a project: Wikidata.
daniel subscribed.
daniel set Security to None.
JanZerebecki renamed this task from Wikibase should accept domain names instead of internal wiki IDs in API parameters. to [Story] Wikibase should accept domain names instead of internal wiki IDs in API parameters..Sep 18 2015, 12:53 PM
JanZerebecki triaged this task as Medium priority.
JanZerebecki moved this task from incoming to needs discussion or investigation on the Wikidata board.
Addshore subscribed.

No-one has asked for this recently