Page MenuHomePhabricator

Get current data for Wikidata entity
Closed, ResolvedPublic

Description

Can be implemented via the wbgetentities API (e. g. mw.ForeignApi) or Special:EntityData (e. g. jQuery; fetch, possibly polyfilled; or axios). Special:EntityData has the advantage of a server-side cache. termbox example

Event Timeline

There’s consensus that we want to use Special:EntityData, and we currently lean towards a solution that doesn’t require add a new external library/polyfill to the payload.

Change 522069 had a related patch set uploaded (by Michael Große; owner: Michael Große):
[mediawiki/extensions/Wikibase@master] bridge: Add http-status-codes and @types/jquery npm modules

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

Change 521499 had a related patch set uploaded (by Michael Große; owner: Michael Große):
[mediawiki/extensions/Wikibase@master] bridge: Get current data for Wikidata entity

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

Change 522069 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] bridge: Add http-status-codes and @types/jquery npm modules

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

Change 521499 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] bridge: Get current data for Wikidata entity

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