Page MenuHomePhabricator

🍰 Simplify the value format in serializers
Open, Needs TriagePublic

Description

  • Get the DataValue type from the Snak
  • If the DataValue type is one of wikibase-entityid, time, or globecoordinate:
    • alter the serialized format returned from DataValue::getArrayValue() according to the story description

Event Timeline

Change 861340 had a related patch set uploaded (by Silvan Heintze; author: Silvan Heintze):

[mediawiki/extensions/Wikibase@master] REST: Simplify the value format in serializers

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