Page MenuHomePhabricator

Support language variant selection at ULS
Open, MediumPublic

Description

Example mockup

Currently language variants are chosen using a tab next to "Read" and "Talk" (see http://zh.wikipedia.org/ as an example). It makes sense to integrate this feature with the rest of language settings and tools.

Here are some possible approaches:

  • Add variant selection to ULS settings. The Language settings can be extended to include variant selection for the current languages. This would work in a similar way to the fonts panel where you can adjust fonts for the language used (if UI and content languages are different, then you can adjust fonts for both).
  • Add variant selection to the list of languages. By adding variants at the top of the language list, there will be a single area for content language selection. Currently, content language selection is not supported by the ULS, and interlanguage links become quite long for some articles. If the ULS was used to facilitate content language selection (as illustrated at http://pauginer.github.io/prototype-uls/#lisa ) the initial list of links is keep short enough to be easily explored.

Since the current variant selection is in a very prominent position compared to the language list area, a link can be (temporally) left in the current position. But instead of opening the drop-down menu, it will direct users to the new place chosen for variant selection (e.g., opens the ULS with the "variants" view).

The attached mockup shows both approaches applied at the same time, but applying just one may be enough.


Version: unspecified
Severity: enhancement

Attached:

Details

Reference
bz51242

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 1:48 AM
bzimport set Reference to bz51242.
bzimport added a subscriber: Unknown Object (MLST).

Created attachment 13216
Updated variant support design

Source: https://commons.wikimedia.org/wiki/File:ULS_with_variants_and_sorting.png

attachment Schermafbeelding 2013-09-02 om 12.40.49.png ignored as obsolete

The content of attachment 13216 has been deleted by

Siebrand <s.mazeland@xs4all.nl>

who provided the following reason:

Wrong file

The token used to delete this attachment was generated at 2013-09-02 13:33:36 CEST.

Created attachment 13217
Updated variant support design

I uploaded the wrong file in the previous comment. Thanks to Liangent for spotting that.

Attached:

btw. In the "View this page in XXX" bar, we may want to do variant selection too.

More: &setvariant=zh-cn or &setvariant[zh]=zh-cn param?

fantasticfears wrote:

I think English should always appear right after the language selected.. Selection for interlink is also great.

Restricted Application added a subscriber: Cosine02. · View Herald TranscriptNov 28 2017, 4:29 PM