Last modified: 2014-11-16 22:59:26 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 T72995, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 70995 - serialization is missing the datatype field
serialization is missing the datatype field
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
master
All All
: High normal with 1 vote (vote)
: ---
Assigned To: Wikidata bugs
u=dev c=backend p=2
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-09-18 10:42 UTC by Lydia Pintscher
Modified: 2014-11-16 22:59 UTC (History)
3 users (show)

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


Attachments

Description Lydia Pintscher 2014-09-18 10:42:48 UTC
From the contact the dev team page:

http://www.wikidata.org/w/api.php?action=query&prop=revisions&titles=Q64&rvprop=content&format=json
For any snak (mainsnaks, qualifiers, reference) datatype field is missing.
Comment 1 Jeroen De Dauw 2014-09-30 12:52:32 UTC
Not an issue in the serialization component. It has a TypedSnakSerializer that takes a TypedSnak object.
Comment 2 Jeroen De Dauw 2014-09-30 12:54:46 UTC
So the user of the serializer should construct a TypedSnak (for which it might need to fetch the data type, since this is not part of the snak).
Comment 3 Jeroen De Dauw 2014-11-16 22:59:26 UTC
Not sure this is something we actually should do. The internal format never had this information. Did we actually check there is a valid use case here?

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


Navigation
Links