Page MenuHomePhabricator

Research different language fallback mechanisms for Wikidata and consolidate
Open, MediumPublic

Description

The objective is that there will never be a page without a title.

Requirements

  • All content is read from Wikidata in the user's language.
  • If not available in the user's language, the next best option should always be decided with the help of the language fallback chain.
  • We should not display blank.

Practicalities

  • When we start recording user preferences, we will use the user's preferred language fallback chain using the Wikibase Special page.
  • Before and as default we create a default fallback chain
    1. the selected UI language in Wikidocumentaries
    2. the browser language
    3. English
    4. the original if it can be deciphered
    5. any language as the last option

There are several ways in which language fallback is created

  • Wikidata API
  • SPARQL query with language fallback service
  • Federated search with rdfs
  • Vue UI localisation fallback language

To do

  • Learn ways in which Wikidata deals with language fallback.