Last modified: 2012-05-22 12:09:43 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 T27946, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 25946 - recentchangestext is contentlanguage instead of userlanguage
recentchangestext is contentlanguage instead of userlanguage
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Recent changes (Other open bugs)
1.17.x
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-11-16 03:32 UTC by Krinkle
Modified: 2012-05-22 12:09 UTC (History)
4 users (show)

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


Attachments

Description Krinkle 2010-11-16 03:32:16 UTC
As can be seen on this page:
http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/specials/SpecialRecentchanges.php?view=markup#l535
It does:

            wfMsgForContentNoTrans( 'recentchangestext' )

Which for example causes the page on Meta ( http://meta.wikimedia.org/wiki/Special:RecentChanges?uselang=pt )  not to be translated as defined there ( http://meta.wikimedia.org/wiki/MediaWiki:Recentchangestext/pt ).
Comment 1 Alexandre Emsenhuber [IAlex] 2010-11-16 09:40:05 UTC
This was modified long ago in r6670. I would keep it by default in content language since it generally holds a lot of content that would be hard to translate in every language (see e.g. mediawiki.org). As stated in the commit summary you can ask to add it to $wgForceUIMsgAsContentMsg for meta so that it can be translated.
Comment 2 Krinkle 2010-11-16 13:37:13 UTC
(In reply to comment #1)
> ..generally holds a lot of content that would be hard to
> translate in every language
I have no clue what you mean here.

The default line is:
http://translatewiki.net/wiki/MediaWiki:Recentchangestext/en
"Track the most recent changes to the wiki on this page."
Which is as user-interface as can be, makes no sense to me for this to be in content language as much as it doesn't make sense for the Sidebar, Tabs or Footer to be in the content language.

If some users (WMF) decide to put entire tables, images, headings and links to all sorts of stuff related to editing and counter-vandalism in this message then they can translate it in all languages (like Commons and Meta do).
Comment 3 Mark A. Hershberger 2011-02-10 16:52:44 UTC
I'm with Krinkle, this should probably be fixed, but I'd like to know why this change was made in the first place.  I've tried to open a discussion with the person who changed the code at r6670.
Comment 4 Alexandre Emsenhuber [IAlex] 2011-02-10 17:03:48 UTC
A solution would be to move the content of this message to recentchanges-summary and we could keep this message with an empty content per default.
Comment 5 Alexandre Emsenhuber [IAlex] 2011-04-16 08:34:40 UTC
Fixed in r86186.
Comment 6 Raimond Spekking 2011-04-18 19:58:44 UTC
Reverted with r86294 due to bug 28590.
Comment 7 Amir E. Aharoni 2012-05-21 07:09:56 UTC
Fixed in https://gerrit.wikimedia.org/r/#/c/6230/
Comment 8 Amir E. Aharoni 2012-05-22 12:09:43 UTC
Follow up: Bug 37015.

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


Navigation
Links