Last modified: 2012-12-13 11:21:02 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T42381, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 40381 - Change API to always use qualified IDs
Change API to always use qualified IDs
Status: VERIFIED FIXED
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Wikidata bugs
storypoints: 13
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-09-20 09:34 UTC by Daniel Kinzler
Modified: 2012-12-13 11:21 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Daniel Kinzler 2012-09-20 09:34:25 UTC
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.
Comment 1 Anja Jentzsch 2012-11-29 12:41:52 UTC
Verified in Wikidata demo time for sprint 20

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links