Last modified: 2014-03-07 11:44:14 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T53242, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 51242 - Support language variant selection at ULS
Support language variant selection at ULS
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
UniversalLanguageSelector (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
: i18n
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-12 15:44 UTC by Pau Giner
Modified: 2014-03-07 11:44 UTC (History)
8 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
Example mockup (112.99 KB, image/png)
2013-07-12 15:44 UTC, Pau Giner
Details
Updated variant support design (deleted)
2013-09-02 11:26 UTC, Siebrand Mazeland
Details
Updated variant support design (21.00 KB, image/png)
2013-09-02 11:34 UTC, Siebrand Mazeland
Details

Description Pau Giner 2013-07-12 15:44:47 UTC
Created attachment 12841 [details]
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.
Comment 1 Siebrand Mazeland 2013-09-02 11:26:19 UTC
Created attachment 13216 [details]
Updated variant support design

Source: https://commons.wikimedia.org/wiki/File:ULS_with_variants_and_sorting.png
Comment 2 Siebrand Mazeland 2013-09-02 11:33:43 UTC
The content of attachment 13216 [details] 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.
Comment 3 Siebrand Mazeland 2013-09-02 11:34:29 UTC
Created attachment 13217 [details]
Updated variant support design

I uploaded the wrong file in the previous comment. Thanks to Liangent for spotting that.
Comment 4 Liangent 2013-09-23 16:23:24 UTC
btw. In the "View this page in XXX" bar, we may want to do variant selection too.
Comment 5 Liangent 2013-09-23 16:25:17 UTC
More: &setvariant=zh-cn or &setvariant[zh]=zh-cn param?
Comment 6 fantasticfears 2013-09-24 01:43:19 UTC
I think English should always appear right after the language selected.. Selection for interlink is also great.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links