Problem:
We will soon release the new mul language code on Wikidata (see T285156). We hope that the Wikidata Community will then start removing labels in languages with redundant strings and instead use the new mul language code. To allow labels to fall back to mul on WDQS, editors need to know that they have to include mul in their queries.
Solution:
What change is needed:
OLD
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
NEW
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en". }
Where this change is needed:
- WDQS examples (found when clicking the example button at the top of the page here: https://query.wikidata.org/)
- help pages (updating all the queries here: https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples)
- auto-completion suggestions (WDQS GUI)
Notes:
- Only do this after mul is enabled on Wikidata.
- The label service doesn’t do language fallbacks on its own, it just goes through the list in its parameters. So it is enough to add mul to this list.
Acceptance criteria:
- The Wikidata community knows what changes are needed.
- We have fixed the auto-completion suggestions in the WDQS GUI code.
Open questions:
- We should have a list of places where changes will be needed.
Original:
As a query service user, I want the label service to produce useful labels, even when Wikidata editors start to remove labels in other languages that are redundant with the new mul language code (see parent task).
Since the label service doesn’t do language fallbacks on its own – it just goes through the list in its parameters (bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en") – it’s probably sufficient to add ,mul to that list in the autocompletion suggestions and in the query examples?