Page MenuHomePhabricator

Incomplete i18n for log entries in CentralAuth
Open, LowPublic

Description

[1] for example reads like this in Dutch:

3 aug 2012 09:47 MarcoAurelio (Overleg | bijdragen) heeft de status voor de globale gebruiker User:Kanakane28@global gewijzigd. Ingesteld: *locked*; verwijderd: *(none)* (Spam-only account: spambot)

Texts within *these areas*, marked by me, could be localised. This requires updating the logging of CentralAuth, keeping BC in place.

[1] https://meta.wikimedia.org/w/index.php?title=Special%3ALog&type=globalauth&user=MarcoAurelio&uselang=nl


URL: https://meta.wikimedia.org/w/index.php?title=Special%3ALog&type=globalauth&user=MarcoAurelio&uselang=nl

Details

Reference
bz39045

Event Timeline

bzimport raised the priority of this task from to Low.
bzimport set Reference to bz39045.
bzimport added a subscriber: Unknown Object (MLST).
siebrand created this task.Aug 4 2012, 11:10 PM
jan added a comment.Aug 5 2012, 11:20 AM

These texts are localised by translatewiki.net (e.g. centralauth-log-status-locked) but the code uses wfMsgForContent(...) when create the log entry.

It is not much work to change the code but I think the author has made his thoughts about using wfMsgForContent() instead of wfMsg(). Should we change this?

(In reply to comment #1)

It is not much work to change the code but I think the author has made his
thoughts about using wfMsgForContent() instead of wfMsg(). Should we change
this?

That would log in the performer's user language and make even more o a mess, as the log entries would display in multiple languages.

The information should be stored in extra parameters for the log entry, and i18ned when displaying it (as opposed to save time).

(In reply to comment #2)

(In reply to comment #1)
> It is not much work to change the code but I think the author has made his
> thoughts about using wfMsgForContent() instead of wfMsg(). Should we change
> this?

That would log in the performer's user language and make even more o a mess, as
the log entries would display in multiple languages.

Per Siebrand. That happened in the past and was a complete dissaster. CentralAuth logs showed in the language of the performer. Please don't do that.

jan added a comment.Jul 2 2013, 1:18 PM

Maybe the changes in [[gerrit:38137]] can help here?

(In reply to comment #6)

Maybe the changes in [[gerrit:38137]] can help here?

It won't hurt, but doesn't solve. https://www.mediawiki.org/wiki/Logging_to_Special:Log#1.19_and_later needs to be applied.

Paladox set Security to None.Apr 26 2015, 6:01 PM