Page MenuHomePhabricator

Log entries displayed in the wrong language
Closed, ResolvedPublic

Description

Author: mike.lifeguard+bugs

Description:
A re-submission of the core problem described at bug 18303:

Currently, some log entries in [[Special:RecentChanges]] are shown in the language of the user who performed them - not in the language of the user viewing the page.

Please show them in the interface language of the user viewing the page.


Version: 1.16.x
Severity: normal

Details

Reference
bz19836

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:43 PM
bzimport set Reference to bz19836.
bzimport added a subscriber: Unknown Object (MLST).

Primarily this needs more machine-readable metadata for log events so we can construct a sensible entry in UI language at runtime consistently. There's at least some log blobs, but I'm not sure if we've thoroughly integrated that to recentchanges either.

(Of course for older events, those records may not be present so we'll want to just display what we've got.)

  • Bug 19844 has been marked as a duplicate of this bug. ***

We already have rc_logid, rc_log_type, rc_log_action, rc_params fields in the database for that use. Mike, could you be more precise about what log items are in the wrong language?

mike.lifeguard+bugs wrote:

(In reply to comment #3)

Mike, could you be more precise about what log items are
in the wrong language?

globalauth for one, but there may be more. I'll let you know if I can find them.

globalauth fixed in r53713 (now always recorded in content language rather than user language).

I let the bug open, please either report new issues or close it.

mike.lifeguard+bugs wrote:

Thanks - I'll close it for now as I wasn't able to find any other ones. I thought revision deletion/suppression might be one, but apparently not.