Last modified: 2013-02-02 03:54:15 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 T46537, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 44537 - Locally overridden messages do not take effect on no.wiki since 1.21wmf8
Locally overridden messages do not take effect on no.wiki since 1.21wmf8
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Site requests (Other open bugs)
wmf-deployment
All All
: Highest major (vote)
: ---
Assigned To: Nobody - You can work on this!
: i18n, shell
Depends on: 44550
Blocks:
  Show dependency treegraph
 
Reported: 2013-01-31 11:34 UTC by jeblad
Modified: 2013-02-02 03:54 UTC (History)
5 users (show)

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


Attachments

Description jeblad 2013-01-31 11:34:40 UTC
Several places in the user interface locally overridden system messages does not take effect. One such example is [[Mediawiki:Mainpage]] which is used in the sidebar. This should show as "Forside" and point to "Portal:Forside", but it is now "Hovedside" and it points to "Hovedside", which is then a redirect to [[Portal:Forside]].

The bug is also visible at [[Special:Allmessages]]
http://no.wikipedia.org/w/index.php?title=Spesial%3AAlle+systembeskjeder&prefix=Mainpage&filter=all&lang=nb&limit=50

Note that the content of the locally overridden message is correct but the correct content does not show up in the listing.
Comment 1 Nemo 2013-01-31 12:00:07 UTC
Clarified summary. Related to https://gerrit.wikimedia.org/r/#/c/35383/ ?
Comment 2 Pavel Selitskas [wizardist] 2013-01-31 12:10:41 UTC
(In reply to comment #0)
> Several places in the user interface locally overridden system messages does
> not take effect. One such example is [[Mediawiki:Mainpage]] which is used in
> the sidebar. This should show as "Forside" and point to "Portal:Forside", but
> it is now "Hovedside" and it points to "Hovedside", which is then a redirect
> to
> [[Portal:Forside]].
> 
> The bug is also visible at [[Special:Allmessages]]
> http://no.wikipedia.org/w/index.
> php?title=Spesial%3AAlle+systembeskjeder&prefix=Mainpage&filter=all&lang=nb&l
> imit=50
> 
> Note that the content of the locally overridden message is correct but the
> correct content does not show up in the listing.

"no" code should be used no more. The code you need is "nb". On no.wikipedia.org, you should just redefine MediaWiki:messagename.

You should move all /no (or /nb, you know better where you keep the right stuff) into the root message (that is, MediaWiki:Mainpage/no or MediaWiki:Mainpage/nb content should be moved to MediaWiki:Mainpage).
Comment 3 Pavel Selitskas [wizardist] 2013-01-31 15:07:55 UTC
One more point: wgLanguageCode for nowiki is set to 'no' in InitialiseSettings.php. $wgLanguageCode should not be one from $wgDummyLanguageCodes.

1. $wgLanguageCode is set to 'no'
2. Plain MediaWiki:Mainpage is treated as 'no' (why? seems like messaging system riding the wrong lane), but system language is 'nb', so it doesn't use the plain message
3. MediaWiki chooses MediaWiki:Mainpage/nb instead

That is why one shouldn't mess with dummy code and set the right one explicitly.
Comment 4 jeblad 2013-02-02 01:40:10 UTC
See also Change I5212beab: Eliminate dummy Language instances from being created
Comment 5 jeblad 2013-02-02 01:44:19 UTC
There is still a bunch of messages that should be overridden locally that isn't.
http://no.wikipedia.org/w/index.php?title=Spesial%3AAlle+systembeskjeder&prefix=cite&filter=all&lang=nb&limit=50
Comment 6 Pavel Selitskas [wizardist] 2013-02-02 01:52:42 UTC
(In reply to comment #5)
> There is still a bunch of messages that should be overridden locally that
> isn't.
> http://no.wikipedia.org/w/index.
> php?title=Spesial%3AAlle+systembeskjeder&prefix=cite&filter=all&lang=nb&limit
> =50

All you can do now is call the c^WOps/shell-granted users to resolve Bug 44550. It is the best way to fix this issue. And yet again, I'm confused that such fix didn't take place years ago, like it did for be-x-old.wikipedia.org (e.i. occupying a sub-domain other than language code).
Comment 7 jeblad 2013-02-02 02:48:40 UTC
Added bug 44550 as a "see alsop" but it seems to be a duplicate to me.
Comment 9 Pavel Selitskas [wizardist] 2013-02-02 03:54:15 UTC
Marking as RESOLVED FIXED, but the changes will be seen as the caches are purged. (Unpurged versuib of [[no:Venus' atmosfære]] used [[no:MediaWiki:Cite references link many/nb]], after ?action=purge I've got [[no:MediaWiki:Cite references link many]], so it should be all OK now.)

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


Navigation
Links