Page MenuHomePhabricator

Expand Wikibase API client service to retrieve labels from Wikidata
Closed, ResolvedPublic

Description

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.

AC:

  • 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 route

Event Timeline

This comment was removed by ItamarWMDE.
Silvan_WMDE subscribed.

nothing to verify on production in this tech subtask

Follow-up ticket to show the fetched labels from wikidata in the results tables is: T291569