With recent desktop improvements the language selector is provided in a new place where some options are no longer available. In particular, users cannot easily edit interwiki links on Wikidata or find the translation tool.
This ticket proposes to incorporate a "more" option to the language selector that shows a new view listing available options. This will replace the current menu bar at the bottom listing display and font settings.
The general structure to support quick actions is:
- Quick action icon. A floating icon is shown at the corner of the language selector. This can be either:
- A direct access to an action, if there is only one available. For example, on wikis other than Wikipedia where there are no interlanguage links and Content translation is not supported, the only valid option is to open the language settings.
- An ellipsis ("...") icon providing access to all options when there is more than one.
- Options panel replacing the contents of the language selector to list the available actions.
- Actions are defined by an icon and a label.
- An option to go back (cancel) is also provided to return to the language selection.
|One action||More than one action|
For the case of Wikipedias the actions provided will be three:
- "Translate this page" (using the "add" icon) will lead to Content Translation with the current page selected and the current language as the source language.
- "Edit language links" (using the "pencil" icon) will lead to the interlanguage links section of the Wikidata page for the current item.
- "Open language settings" will open the ULS language settings panel.
Additional design details
- The quick actions are only shown in the default state of the language selector. That is, they are not visible when the user searches for a language or in the empty states in oder to avoid distractions.