The external JSON should contain a reference to the datatype of the snak for PropertyValue-Snaks.
Version: unspecified
Severity: normal
The external JSON should contain a reference to the datatype of the snak for PropertyValue-Snaks.
Version: unspecified
Severity: normal
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | None | T59212 the output of dumpJson should include each snak's data type id. | |||
Resolved | None | T59213 API output should include each snak's data type id | |||
Resolved | None | T59231 Special:EntityData output should include each snak's data type id | |||
Resolved | None | T56320 Add datatype to snaks in the external JSON |
Change 96258 had a related patch set uploaded by Daniel Kinzler:
Allow service injection into serializers.
Patch Ib2137ad adds support for the datatype field to SnakSerializer, which should be sufficient to consider this fixed. That however doesn't cause the datatype to show up in all JSON output, since the necessary lookup service isn't yet injected everywhere. For the specific use cases, I filed:
Change 96258 merged by jenkins-bot:
(bug 54320) Include datatype in snak serialization.