Last modified: 2013-11-01 09:27:42 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 T35677, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 33677 - enable setting language preference without requiring login
enable setting language preference without requiring login
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.20.x
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
UniversalLanguageSelector-fixed
: accessibility, i18n
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-01-12 00:56 UTC by Dan Jacobson
Modified: 2013-11-01 09:27 UTC (History)
13 users (show)

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


Attachments

Description Dan Jacobson 2012-01-12 00:56:38 UTC
Why can't MediaWiki do like all major sites' software, and allow setting
the interface language without requiring the user to establish an account?

Observe the bottom of e.g.,
http://www.facebook.com/
http://www.flickr.com/
http://www.youtube.com/
Each has a language selector that doesn't require login.
http://www.couchsurfing.org/
even puts it right at top.

Yes, patient users  can set their language preference in Preferences.
But what about read-only sites? I.e., What should one suggest on
http://www.mediawiki.org/wiki/Manual:Preventing_access#Restrict_account_creation
to say to users who wish to view in a different language?
Painfully suffix "?uselang=..." to the end of each URL they browse?

One might argue "users will confuse MediaWiki uselang= with
XX.wikipedia.org languages" ... well they haven't yet with the language
choice in Preferences.

I'm not saying rip it out of Preferences. I'm saying add an additional
way to set it for even non-logged in users, just like the aforementioned
"real websites" do.

Also consider the current accessibility up until the point the user has
managed to register an account and finally set his/her language
preference... all of which has to be somehow accomplished in the "dark"
of the default language, unless he/she knows to add the magic
uselang=... to MediaWiki URLs every step of the way.

Please don't suggest an add-on for such basic functionality.
Comment 1 Dan Jacobson 2012-01-12 01:03:56 UTC
There remains the question of how to exactly design a language
selector that everybody can understand. All I can say is the
aforementioned "real websites" offer very good examples there on the
footers of their pages!
Comment 2 Dan Jacobson 2012-01-12 01:05:51 UTC
http://www.google.com/ 's approach is somewhat different... but still usually there at the bottom of the page.
Comment 3 p858snake 2012-01-12 01:12:27 UTC
We currently have 380 languages, So you would need to store a cache for each
one of those languages (depending on your setup), You would need a nice
language selector.

Although I don't see the need in most cases, Since in most wikis I have come
access, The user language is usually the same as the content language.
Comment 4 Brion Vibber 2012-01-12 01:27:42 UTC
This would be absolutely trivial to do in a cache-friendly way... in a sufficiently redone JavaScript application UI. But I don't think jidanni would find it to work in lynx. :)
Comment 5 Dan Jacobson 2012-01-12 01:51:27 UTC
(In reply to comment #4)
No worry, I'm with the 99% on this issue. What's good for the real sites is good for me!
Comment 6 Liangent 2012-01-12 04:17:59 UTC
There's a major difference between Wikipedia and those sites you listed: Wikipedia has different sites for contents in different languages, and those websites have an only global site with contents in mixed language.

So on those websites, people using completely different language use the same site, so it's important to provide a language selector. While on Wikipedia, normally (I mean, except for those people doing crosswiki work) only people who know the content language come to the site and since the interface language defaults to the content language, it's safe to assume that people can understand the default interface language.

However it can be useful for wikis with mixed contents, eg, http://wikimediafoundation.org/wiki/Home .
Comment 7 p858snake 2012-01-12 04:27:25 UTC
just a slight note from the IRC channel, for anyone that may want to attempt this:

> [11:31] <p858snake|l> brion: I believe commons tried to do it a cache friendly way and couldn't get it to work properly for anons (although we have a slightly more complicated cache setup than normal)
> [11:33] <brion> p858snake|l, yeah the "right" way is to make the frontend a javascript app that uses the api, and only has to fetch UI messages once etc ;)
Comment 8 Dan Jacobson 2012-01-12 04:31:33 UTC
(In reply to comment #6)
> There's a major difference between Wikipedia and those sites you listed
So how would you suggest owners of read-only databases who would like
their database to be accessible in more than one language proceed? Hack
up some xx.example.com massive redirect nightmare? One can't always
assume "well the content has that problem too" so there is no need to
make the interface accessible. I mean I keep reading about the efforts
to make things internationally accessible, e.g.,
http://blog.wikimedia.org/2012/01/09/end-of-sprint-6-translate-and-other-goodies/
but at the same time there is no path in ones language from a MediaWiki
Main Page through the many steps to set up the correct preference... if
indeed a given MediaWiki allows logging in in the first place.
Comment 9 Dan Jacobson 2012-01-12 04:35:07 UTC
By database I mean e.g., a ham radio frequency database or a database of Latin names for plants, etc. that the owner has chosen to use MediaWiki as the platform.
I.e., the content is just numbers or other language neutral items, so why can't the interface (MediaWiki) be language neutral from click 1?
Comment 10 Santhosh Thottingal 2012-01-12 04:45:43 UTC
There are some efforts going on designing a language selector UI  by integrating language tools to it. See https://www.mediawiki.org/wiki/Universal_Language_Selector for a draft specification.
Comment 11 Niklas Laxström 2013-11-01 07:44:46 UTC
I'm just going to mark this as fixed. ULS provides this functionality, and there is no mention about WMF where this functionality cannot currently be enabled.
Comment 12 Nemo 2013-11-01 08:02:08 UTC
(In reply to comment #11)
> I'm just going to mark this as fixed. ULS provides this functionality, and
> there is no mention about WMF where this functionality cannot currently be
> enabled.

Fixing dependencies and component then.

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


Navigation
Links