Page MenuHomePhabricator

MUL - Update the auto-completion suggestions in WDQS to include the new mul language code
Closed, DeclinedPublic

Description

Problem:
The auto-completion suggestions in WDQS are not aware of the new mul language code fallbacks (see T285156).

Solution:
we would change the completion

SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }

to

SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en". }

(see for context T304976)

Note:
Only do this after mul is enabled on Wikidata.

Acceptance criteria:

  • The auto-completion suggestions in the WDQS GUI code are updated to mul language code fallbacks.

Event Timeline

Manuel updated the task description. (Show Details)

The main autocompletion is in wikibase/queryService/ui/editor/hint/Sparql.js, but we probably want to look for other [AUTO_LANGUAGE],en occurrences in the repository too.

Manuel renamed this task from Update the auto-completion suggestions in WDQS to include the new mul language code to MUL - Update the auto-completion suggestions in WDQS to include the new mul language code.Sep 13 2022, 10:57 AM

I guess this should be a subtask of T304976? I would say it only covers the “auto-completion suggestions (WDQS GUI)” part of “Where this change is needed” there.