Page MenuHomePhabricator

Change API to always use qualified IDs
Closed, ResolvedPublic


The API should use qualified IDs (e.g. "Q1234") everywhere - when giving IDs as parameters, in input JSON, in output data. This would improve consistency, avoid confusion, and would allow seamless operations on different types of entities without caring about the type at hand.

I believe it would even be good to use qualified IDs internally too, in the PHP classes, maybe even in the database.

Version: unspecified
Severity: normal
Whiteboard: storypoints: 13



Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 1:02 AM
bzimport set Reference to bz40381.
bzimport added a subscriber: Unknown Object (MLST).

Verified in Wikidata demo time for sprint 20