Last modified: 2014-02-12 23:35:55 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 T22385, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 20385 - Language variant settings are lost when changing other preferences
Language variant settings are lost when changing other preferences
Status: NEW
Product: MediaWiki
Classification: Unclassified
User preferences (Other open bugs)
1.16.x
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: testme
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-08-25 12:55 UTC by Liangent
Modified: 2014-02-12 23:35 UTC (History)
6 users (show)

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


Attachments

Description Liangent 2009-08-25 12:55:16 UTC
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.11) Gecko/2009061212 Iceweasel/3.0.6 (Debian-3.0.6-1)
Comment 1 Jimmy Xu 2009-08-25 13:22:13 UTC
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2 (.NET CLR 4.0.20506)

No such problem.
Comment 2 Jimmy Xu 2009-08-25 13:43:07 UTC
(In reply to comment #1)
> User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.2)
> Gecko/20090729 Firefox/3.5.2 (.NET CLR 4.0.20506)
> 
> No such problem.
> 

So, when changing the browser's Accept-Language HTTP header from "en-us,en;q=0.8,zh-cn;q=0.5,zh;q=0.3" to "en-us,en;q=0.5", that is remove all "zh" related settings, the bug appears.

After opt-out/in, the variant preference will be changed to "zh", whatever you set before.
Comment 3 Roan Kattouw 2009-10-07 22:13:56 UTC
I managed to reproduce this:
* Set $wgLanguageCode = 'sr'; (would use zh but it throws fatals ATM)
* Go to your preferences
* Set variant (Варијанта) to sr-el
* Submit; prefs form appears in sr-el
* Change gender (Pol) to female (second option) if it was male, or to male (first option) otherwise
* Submit; prefs form appears in sr, variant preference reset to sr

Generalizing this bug, problem in the prefs system rather than in OptIn.
Comment 4 Bawolff (Brian Wolff) 2011-06-25 04:20:57 UTC
I'm having trouble reproducing. Is this bug still present?

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


Navigation
Links