Last modified: 2014-11-13 10:03:00 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 T66440, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 64440 - Language setting keeps resetting itself at kk: (due to use of $wgLanguageCode ?)
Language setting keeps resetting itself at kk: (due to use of $wgLanguageCode ?)
Status: NEW
Product: MediaWiki
Classification: Unclassified
Language converter (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
https://kk.wikipedia.org/wiki/%D0%90%...
:
: 64452 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-04-25 18:59 UTC by Quiddity
Modified: 2014-11-13 10:03 UTC (History)
17 users (show)

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


Attachments

Description Quiddity 2014-04-25 18:59:15 UTC
I can't get the internationalisation/language setting at kk:wikipedia to work properly.
Every time I change&save the preference (I tried English, Dansk, and Deutsch), and then visit a random article, it displays the interface messages in the wiki's default language, and displays this popout message from the ULS sidebar/toolbox: "English дегеннен тіл өзгертілді"
If I then visit the preferences page again, it displays a popout message saying "Language changed from қазақша".

It seems to work properly at other wikis.
Comment 1 Andre Klapper 2014-04-28 06:31:59 UTC
Same problem with other browsers? 
Do you know if others have experienced the same problem, by any chance?
Comment 2 Andre Klapper 2014-04-28 06:44:34 UTC
There seem to be kk specific issues, see also bug 64452
Comment 3 Liangent 2014-04-28 09:37:42 UTC
*** Bug 64452 has been marked as a duplicate of this bug. ***
Comment 4 Liangent 2014-04-28 09:40:02 UTC
Hmm user language setting seems completely ignored on content pages, even if you don't use ULS and set your language in Special:Preferences directly. When I set my user language to English, Special:Preferences speaks English, but other pages still speak kk (or one of its variant) in top-right links.
Comment 5 Niklas Laxström 2014-04-28 11:21:05 UTC
I suspect this is caused by the language converter.
Comment 6 Greg Grossmeier 2014-04-28 17:46:52 UTC
Sub'ing and increasing/setting priority.

Language Team: Assessing and reducing priority is fine, just let the bug know what you think as soon as you can.
Comment 7 Andre Klapper 2014-04-29 04:17:09 UTC
I can confirm the problem.

Browser error console only says:
   TypeError: mw.beta is undefined
for
	function trackClick( el, name ) {
		mw.beta.trackClick( el, 'PersonalBar', { [...] }
Comment 8 Liangent 2014-04-29 08:48:05 UTC
(In reply to Andre Klapper from comment #7)
> I can confirm the problem.
> 
> Browser error console only says:
>    TypeError: mw.beta is undefined
> for
> 	function trackClick( el, name ) {
> 		mw.beta.trackClick( el, 'PersonalBar', { [...] }

Seems irrelevant. Is this for bug 63535?
Comment 9 This, that and the other (TTO) 2014-09-16 03:48:49 UTC
[1] looks suspicious. No other language converters set $wgLanguageCode...

[1] http://git.wikimedia.org/blob/mediawiki%2Fcore.git/38d7a2abf1a94b3f637f49177a5bc7b993087229/languages%2Fclasses%2FLanguageKk.php#L302
Comment 10 This, that and the other (TTO) 2014-11-08 07:21:55 UTC
Can we try unsetting $wgLanguageCode and see if that fixes the problem? If not we can always put it back...
Comment 11 This, that and the other (TTO) 2014-11-08 07:22:27 UTC
(In reply to This, that and the other (TTO) from comment #10)
> unsetting

i.e. removing the code that sets $wgLanguageCode
Comment 12 Gerrit Notification Bot 2014-11-08 08:40:00 UTC
Change 172020 had a related patch set uploaded by TTO:
Don't fiddle with $wgLanguageCode in KkConverter

https://gerrit.wikimedia.org/r/172020
Comment 13 Gerrit Notification Bot 2014-11-13 08:30:51 UTC
Change 172020 merged by jenkins-bot:
Don't fiddle with $wgLanguageCode in KkConverter

https://gerrit.wikimedia.org/r/172020
Comment 14 This, that and the other (TTO) 2014-11-13 10:03:00 UTC
Leaving this open for now as it's not certain that the patch fixes the issue. We will be able to test on kkwiktionary on 25 November.

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


Navigation
Links