Nikki added a comment.
To let people who aren't logged in change the language, set `$wgULSAnonCanChangeLanguage` to true. To enable language detection, set `$wgULSLanguageDetection` to true. If you change the former but not the latter, it will default to English but people who aren't logged in will be able to change the language manually. If you change the latter but not the former, it will default to the browser language and people who aren't logged in won't be able to change it manually. They're both currently disabled in wmf-config/CommonSettings.php <https://github.com/wikimedia/operations-mediawiki-config/blob/master/wmf-config/CommonSettings.php> in the operations-mediawiki-config repo for performance reasons. Doing that is understandable for the monolingual wikis, where using the wiki language as the interface language is a reasonable assumption, but I really think it should be changed for (supposedly) multilingual wikis. According to the Pageviews Analysis tool, Commons and Wikidata are only a tiny amount of the traffic compared to the biggest Wikipedias (link <https://pageviews.wmcloud.org/siteviews/?platform=all-access&source=pageviews&range=latest-20&sites=wikidata.org%7Ccommons.wikimedia.org%7Car.wikipedia.org%7Cde.wikipedia.org%7Cen.wikipedia.org%7Ces.wikipedia.org%7Cfr.wikipedia.org%7Cja.wikipedia.org%7Cru.wikipedia.org%7Czh.wikipedia.org>) and Wikidata has more than the rest of the multilingual wikis I could think of combined (link <https://pageviews.wmcloud.org/siteviews/?platform=all-access&source=pageviews&agent=user&range=latest-20&sites=wikidata.org%7Cbeta.wikiversity.org%7Cfoundation.wikimedia.org%7Cincubator.wikimedia.org%7Cmediawiki.org%7Cmeta.wikimedia.org%7Coutreach.wikimedia.org%7Cspecies.wikimedia.org%7Cwikimania.wikimedia.org%7Cwikisource.org>). Commons has had a script to allow changing the interface language for many years. It adds a banner to the page suggesting a language to switch the interface to, adds a dropdown menu to the sidebar and links from other projects often include the `uselang` parameter by default. I've been seriously considering adding that script to Wikidata as well for a while now. It would be much better if it could be done without using a hacky script like that though, and if it hasn't been causing problems on Commons after all this time, is there a reason why we can't change those settings for multilingual wikis? TASK DETAIL https://phabricator.wikimedia.org/T351899 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Nikki Cc: Nikki, Michael, Lydia_Pintscher, Manuel, Aklapper, Danny_Benjafield_WMDE, Astuthiodit_1, karapayneWMDE, Invadibot, maantietaja, ItamarWMDE, Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Mbch331
_______________________________________________ Wikidata-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected]
