Page MenuHomePhabricator

Document differences in sitelink data structure between Wikibase REST API and Action API responses
Closed, ResolvedPublic2 Estimated Story Points

Description

Documentation page showing differences between format differences between the Wikibase REST API and Action API currently omits the elaboration on sitelinks structure.
It should be displayed to demonstrate the differences:

  • omitting the redundant site ID,
  • and always displaying the page URL

in "value" object used by Wikibase REST API.

Task breakdown notes:

  • T321483 documents simplifying the sitelinks structure
  • the url property has been added via T330252
  • add a new sitelinks section to the "Differences in the JSON data format between Wikibase REST API and ActionAPI" doc.

Event Timeline

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

[mediawiki/extensions/Wikibase@master] REST: Document differences in sitelinks data structure

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

WMDE-leszek renamed this task from Document different in sitelink data structure between Wikibase REST API and Action API responses to Document differences in sitelink data structure between Wikibase REST API and Action API responses.Jan 29 2024, 9:59 AM

Change 992754 merged by jenkins-bot:

[mediawiki/extensions/Wikibase@master] REST: Document differences in sitelinks data structure

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