Page MenuHomePhabricator

Expand Wikibase API client service to retrieve labels from Wikidata
Open, Needs TriagePublic


In order to show Item and Property labels on our results' page, we will need to retrieve them using Wikidata API.

As we already have a [Wikibase Client implementation] in our server, we assume that the API connection to Wikidata can be handled on the server side, and that we can expand its functionality to retrieve labels.

These Labels are expected to be in the language defined by the global uselang query parameter implemented for Mismatch finder.


  • The WikibaseClient service can retrieve labels for a set of entity IDs (items and properties) and language
  • EITHER The client is used to retrieve labels for items and properties in the results page