Last modified: 2013-02-28 00:20:19 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 T46493, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 44493 - Simple English Wiktionary local system messages ignored: set $wgLanguageCode to en
Simple English Wiktionary local system messages ignored: set $wgLanguageCode ...
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
General/Unknown (Other open bugs)
wmf-deployment
All All
: High major (vote)
: ---
Assigned To: Nobody - You can work on this!
http://simple.wiktionary.org/wiki/Med...
: shell
Depends on: 44747
Blocks:
  Show dependency treegraph
 
Reported: 2013-01-30 02:58 UTC by Hazard-SJ
Modified: 2013-02-28 00:20 UTC (History)
6 users (show)

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


Attachments
Sidebar vs MediaWiki:Sidebar (28.01 KB, image/png)
2013-01-30 02:58 UTC, Hazard-SJ
Details

Description Hazard-SJ 2013-01-30 02:58:17 UTC
Created attachment 11713 [details]
Sidebar vs MediaWiki:Sidebar

The sidebar displayed (at least for me) seems to be the value of the default sidebar. The language set in my preferences is the default for the wiki (en). The interface message hasn't been edited for a while. I've tried purging, clearing my browser's cache, and even &uselang overrides, but nothing is helping the situation.
Comment 1 Hazard-SJ 2013-01-30 02:59:11 UTC
I've tried using a different browser as well.
Comment 2 Bawolff (Brian Wolff) 2013-01-30 03:00:09 UTC
This happened to me recently at wikitech.wikimedia.org too.

?action=purge seemed to fix the issue at wikitech, but this sort of thing should not happen.
Comment 3 Hydriz Scholz 2013-01-30 11:04:23 UTC
Just to add on:

?action=purge doesn't really fix anything, the usual interface still lingers. I doubt it is a cache problem, though it doesn't seem to be any configuration change recently to simplewiktionary.

On the deletion page, the same thing happens, it seems to have been reverted to the default reasons, so the problem really is about the interface.

I did a small little investigation and it seems to be some changes in core with regards to the simple languages, perhaps someone can help to identify it and fix it too? It is also happening to one of my test wikis with the interface language set to simple.
Comment 4 Andre Klapper 2013-01-30 11:24:02 UTC
(In reply to comment #3)
> it seems to be some changes in core with regards to the simple languages

Links highly welcome.
Comment 5 Hydriz Scholz 2013-01-30 11:27:05 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > it seems to be some changes in core with regards to the simple languages
> 
> Links highly welcome.

I just suspect that it is, though I can't seem to find it in the recent push (1.21wmf8). Hopefully someone who sees this bug can help to identify it. :D
Comment 6 Nemo 2013-01-31 12:15:51 UTC
Looks like it's using the original/default/old/obsolete https://simple.wiktionary.org/w/index.php?title=MediaWiki:Sidebar&oldid=4297 ?
Looks like bug 5092 striking again as predicted on bug 43516.
If I understand jeblad correctly, this is also happening on no.wiki (unrelated to bug 44537).
Comment 7 Nemo 2013-02-07 10:59:33 UTC
This is not an ops bug.
It's not like bug 44550 because wgLanguageCode is correctly set to en, but someone should at least try null or dummy edit...
Comment 8 Hydriz Scholz 2013-02-07 11:45:21 UTC
(In reply to comment #7)
> This is not an ops bug.
> It's not like bug 44550 because wgLanguageCode is correctly set to en, but
> someone should at least try null or dummy edit...

In fact, it is *incorrectly* set to en, it should be set to "simple" (note the difference between this and that of simplewiki's)
Comment 9 Nemo 2013-02-07 13:37:42 UTC
(In reply to comment #8)
> In fact, it is *incorrectly* set to en, it should be set to "simple" (note
> the
> difference between this and that of simplewiki's)

I think you mean the opposite? We currently have:
    'simplewiki' => 'en',
so yes, I forgot that we were speaking of Wiktionary. All the 'simple' projects need the same override as simplewiki, right, Wizardist?
(Null edit by Merlissimo didn't work.)
Comment 10 Hydriz Scholz 2013-02-07 13:47:28 UTC
No it shouldn't. There is no effect of the setting of $wgLanguageCode with regards to what is being displayed on the sidebar. The edited messages should be the ones shown, not the default ones.

And please do note that there isn't any consensus to change the language code to "en" on simplewiktionary.
Comment 11 Pavel Selitskas [wizardist] 2013-02-07 13:48:47 UTC
(In reply to comment #9)
> (In reply to comment #8)
> > In fact, it is *incorrectly* set to en, it should be set to "simple" (note
> > the
> > difference between this and that of simplewiki's)
> 
> I think you mean the opposite? We currently have:
>     'simplewiki' => 'en',
> so yes, I forgot that we were speaking of Wiktionary. All the 'simple'
> projects
> need the same override as simplewiki, right, Wizardist?
> (Null edit by Merlissimo didn't work.)

Exactly.

Can anyone do a revision of projects currently using dummy codes and then fix them in InitialiseSettings.php? We need to define the languages which differ from site code/subdomain explicitly. That is how things work.
Comment 12 Nemo 2013-02-07 13:57:24 UTC
Hydriz, this is not a change requiring consensus, it's a forced consequence of changes in MediaWiki core required to keep things as they were before.

(In reply to comment #11)
> Exactly.
> 
> Can anyone do a revision of projects currently using dummy codes and then fix
> them in InitialiseSettings.php? We need to define the languages which differ
> from site code/subdomain explicitly. That is how things work.

Sure, you could do it. ;-) File another bug for that though, please.
Comment 13 Sam Reed (reedy) 2013-02-28 00:20:19 UTC
https://gerrit.wikimedia.org/r/#/c/51303/

Will be pushed to site in a little while

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


Navigation
Links