Page MenuHomePhabricator

Language selector on multilingual wikis needs adjustments
Closed, ResolvedPublic

Description

The language selector is available in different ways for the two kinds of Wikimedia wikis:

  • Multilingual wikis where a single site supports multiple languages, such as Commons.
  • Monolingual wikis where a site supports one language with content connected across languages with inter-language links, such as French Wikipedia.

On multilingual wikis (such as Commons), the language selector is missing some aspects that are present in other wikis:

  • Misalignment between button and panel. When the language button is pressed, the panel is opened below it. However, the horizontal position shows the panel not aligned with the button that opens it.
  • Quick actions menu is not used. Access to display and input settings are provided at the bottom of the language selector instead of using the recent support for quick actions (T289840). The expected result would be for the bottom options to be removed and a cog icon to provide access to the language settings instead.

The current state for both kinds of wikis is shown below:

Multilingual wiki (Commons)Monolingual wiki (French Wikipedia)
Screenshot 2022-07-28 at 08.44.06 2.png (538×1 px, 183 KB)
Screenshot 2022-07-28 at 08.44.46 2.png (581×1 px, 184 KB)

Event Timeline

Pginer-WMF triaged this task as Medium priority.Jul 28 2022, 7:53 AM

As an editor on a multilingual wiki, the Commons image is clearly better. Why would you want to remove the display and input settings buttons???

I agree that there is no problem here. Just leave it as is

As someone who regularly moves between multiple language versions on wp, the French wp language selector is horrendous. I waste a lot of time nowadays first looking for it, then having to open it up, etc. Please do *not* change it.

As an editor on a multilingual wiki, the Commons image is clearly better. Why would you want to remove the display and input settings buttons???

To be precise, the proposal is to replace the two buttons with a single settings button. That settings button will lead to the same dialog as the display button leads to (from which the input settings are also reachable). The mockup below illustrated this:

settings.png (316×354 px, 21 KB)

The main aspects of the proposal are:

  • Language selector is more focused on the main and most frequent use (selecting content language). Simplifying the decision making process (select a language or go to settings).
  • Language settings are still reachable in one tap most of the time.
    • Input settings require one extra interaction, but their access through language settings does not seem unexpected and their discovery from the dialog seems clear.

In our context there is a great diversity of usecases, please feel free to share the details on what is your usecase and how one solution may work better/worse for you.

Related request T326981 to implement 'display languages' and 'input settings' buttons in the Languages drop-down in Vector 2022, similar to how it is in ULS in the personal toolbar.

Change 903694 had a related patch set uploaded (by Nik Gkountas; author: Nik Gkountas):

[mediawiki/extensions/UniversalLanguageSelector@master] ULS: Align page language selector in multilingual wikis

https://gerrit.wikimedia.org/r/903694

Change 903695 had a related patch set uploaded (by Nik Gkountas; author: Nik Gkountas):

[mediawiki/extensions/UniversalLanguageSelector@master] ULS: Use quick actions icon inside page language selector

https://gerrit.wikimedia.org/r/903695

Change 903694 merged by jenkins-bot:

[mediawiki/extensions/UniversalLanguageSelector@master] Align page language selector in multilingual wikis

https://gerrit.wikimedia.org/r/903694

Change 903695 merged by jenkins-bot:

[mediawiki/extensions/UniversalLanguageSelector@master] ULS: Use quick actions icon inside page language selector

https://gerrit.wikimedia.org/r/903695