Last modified: 2014-02-04 14:49:50 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 T59213, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 57213 - API output should include each snak's data type id
API output should include each snak's data type id
Status: VERIFIED FIXED
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
unspecified
All All
: Unprioritized enhancement (vote)
: ---
Assigned To: Wikidata bugs
:
Depends on: 54320
Blocks:
  Show dependency treegraph
 
Reported: 2013-11-18 22:21 UTC by Daniel Kinzler
Modified: 2014-02-04 14:49 UTC (History)
6 users (show)

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


Attachments

Description Daniel Kinzler 2013-11-18 22:21:28 UTC
The serialization of PropertyValueSnaks may contain a datatype field indicating
the snak's data type. This is more useful than the often ambiguous or
misleading value type. 

The output gernerated by API modules should thus contain the datatype field.
Comment 1 Gerrit Notification Bot 2013-11-19 14:07:48 UTC
Change 96258 had a related patch set uploaded by Daniel Kinzler:
Allow service injection into serializers.

https://gerrit.wikimedia.org/r/96258
Comment 2 Daniel Kinzler 2013-12-04 11:34:16 UTC
Status: this is now supported by the serializers, but API modules need to be updated to make use of that new feature.
Comment 3 Gerrit Notification Bot 2014-01-20 16:48:54 UTC
Change 108530 had a related patch set uploaded by Addshore:
Include dataType id in API output

https://gerrit.wikimedia.org/r/108530
Comment 4 Gerrit Notification Bot 2014-01-22 22:44:48 UTC
Change 108530 merged by Jeroen De Dauw:
Include dataType id in API output.

https://gerrit.wikimedia.org/r/108530

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


Navigation
Links