Last modified: 2014-03-25 17:24:10 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 T56085, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 54085 - EntityIdValues should be serialized as strings, not type/number structures.
EntityIdValues should be serialized as strings, not type/number structures.
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
unspecified
All All
: High major (vote)
: ---
Assigned To: Wikidata bugs
u=dev c=backend p=0 cleanup json api_...
: easy
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-09-12 18:01 UTC by Daniel Kinzler
Modified: 2014-03-25 17:24 UTC (History)
5 users (show)

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


Attachments

Description Daniel Kinzler 2013-09-12 18:01:05 UTC
Currently, EntityIdValues are represented in JSON as pairs of entitiy types and numeric ids. There is no eay for a client to mak this to a prefixed id or URL. Instead, we should always use the prefixed ID form (e.g. "Q1234") to represent an entity ID externally (and probably also in the internal serialization).

Of course, we must keep accepting the old form as input. Otherwise, we would be unable to process serializations from existing revisions.

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


Navigation
Links