Page MenuHomePhabricator

Make Data Bridge load entity data from Special:EntityData again
Open, Needs TriagePublic

Description

As a Wikibase repository wiki operator, I want to reduce server load and have clients reuse cached data when possible.

Problem:
Wikidata Bridge currently gets its entity data from the wbgetentities API. We would like to use Special:EntityData, since that has a decent chance of being cached (if not in the client’s browser, then at least in datacenter-side caches); however, that’s currently not possible because that data may be out of date (T128486).

Example:

Screenshots/mockups:

BDD
GIVEN
AND
WHEN
AND
THEN
AND

Acceptance criteria:

  • Data Bridge uses the special page instead of the API.

Open questions:

Event Timeline

Restricted Application added a project: Wikidata. · View Herald TranscriptApr 28 2020, 10:50 AM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change 592917 had a related patch set uploaded (by Lucas Werkmeister (WMDE); owner: Lucas Werkmeister (WMDE)):
[mediawiki/extensions/Wikibase@master] bridge: demote SpecialPageReadingEntityRepository

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

Change 592917 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] bridge: demote SpecialPageReadingEntityRepository

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