Universal Language Selector/Compact Language Links

As we get content in more languages, the list of interlanguage links become longer on Wikipedia articles. Articles such as "Barack Obama" or "Sun" have more than 200 links, and that becomes a problem for users who often switch among several languages. It is not easy to find a specific language in those long lists. With compact language links the list can be made shorter by showing subset of languages the user is most likely interested in and let the user to access the rest via a separate menu.

Compact language links feature is part of Universal Language Selector (ULS) – the extension that provides language selection and various language related settings. ULS has been in use on all Wikimedia wikis since 2013. Compact language links was available as a separate beta-feature since 2014 when it was created in an OPW project.

How does it work
Compact language links can be enabled and disabled using a setting that is available under Preferences -> Appearance. This setting is currently being made available for users across all Wikimedia wikis in several stages.



With compact language links a short list of the relevant languages for the user is displayed. This selection is based on your location, your previous language selections and your browser settings. You can read more about this selection at this FAQ: How does Universal Language Selector determine which languages I may understand?.

At the bottom of the list there will be an indicator of the number of languages for which the page exists and a button to access the rest of the languages. Clicking on more will open the language selection dialog. It provides a list of languages that can be searched by language name in any language, and it can handle spelling mistakes. Also language codes are supported.

You will also be able to see badges like feature article inside this language dialog.

FAQ

 * I have been using Compact Language Links as a beta feature. What is the change I will see?
 * I tried Compact Language Links earlier and then turned off the beta feature. Now it is enabled again. How do I turn it off?
 * How many languages are shown in the compact list?
 * How do you decide which languages are relevant for me?
 * How do you determine my location?
 * Your IP address is checked on the servers against a database which contains mappings from addresses to approximate locations. The results are stored in a cookie named GeoIP. ULS then reads this information and combines it with a list languages spoken in a territory. This information comes from the Unicode CLDR project. Geolocation has some more links.
 * It is said that Geo-IP i.e. geographic information is used to determine the language selection. How important is this criteria?
 * Geo-IP is not perfect, but that is not used as the main information source just as a fallback for more reliable sources such as previous selections or browser language. in any case our data relies on CLDR so it is expected to improve over time and we encourage users to ask for improvements on it.
 * With Geo-IP are you not enforcing certain languages in certain geographic areas, which would be contrary to the mission of the Wikimedia Foundation?
 * Geo-IP is only a fallback mechanism used to guess the user's language. However, if suggestions include minor languages of a region this can bring more visibility to them than the usual list.
 * I use a VPN most of the times. The geo-IP information is useless for me.
 * Geo-IP is only a fallback mechanism used to guess the user's language. Your browser settings and previously selected languages will be preferred.
 * Why do I see some of the languages listed in the interlanguage links as gray?
 * Compact-language-links-list.png
 * Where can I provide feedback?
 * You can use the project talk page. Bugs and feature requests will be tracked in Phabricator.
 * Why do I see some of the languages listed in the interlanguage links as gray?
 * Compact-language-links-list.png
 * Where can I provide feedback?
 * You can use the project talk page. Bugs and feature requests will be tracked in Phabricator.

Known issues and feature requests
See full list on Phabricator.


 * Previous choices are not remembered cross-wiki. The previously selected languages are currently only remembered in the current wiki.
 * This beta feature is incompatible with the SidebarTranslate gadget. (Won't be fixed ULS-side.)