Description
Currently the VE fallback strategy is the same as the Default View strategy (uses same store methods):
- show labels in user language, if not
- show labels in closest available fallback, if not;
- show labels in any available language
However, showing arbitrary languages is often confusing. We want to implement a different fallback strategy so that:
- Wikipedia users can understand the labels and how to use functions;
- Wikipedia users understand that there are missing labels and they can contribute to their translation
Desired behavior/Acceptance criteria
- All labels have lang and dir html attributes
- Fallback language strategy must apply to the "Function call information popup" and the dialogs "(1) Function selection" and "(2) Function call setup"
- For information popup:
- Function name:
- Function description:
- For (1) Function selection dialog:
- Function name:
- Function description:
- For (1) Function selection dialog:
- Function input labels:
- (if any) Enum dropdown labels:
Completion checklist
- Before closing this task, review one by one the checklist available here: https://www.mediawiki.org/wiki/Abstract_Wikipedia_team/Definition_of_Done#Front-end_Task/Bug_Completion_Checklist