Page MenuHomePhabricator

"1movedto2" message inserted in wrong language
Closed, ResolvedPublic

Description

Author: rowan.collins

Description:
When a user moves a page, the message inserted into the edit history is in their
chosen interface language. Anybody who doesn't speak that language will simply
be baffled by what they see in watchlists, history pages, etc.

The ideal situation would be if the message could be magically translated
depending on who was *viewing* the history entry (i.e. it would behave as part
of the interface, not just an immutable comment in the history). But this may be
a bit far-fetched, so the simpler solution is just to use the content language
selected for the entire wiki, which will presumably have been chosen as
appropriate for the majority of users.


Version: 1.4.x
Severity: minor
URL: http://meta.wikimedia.org/w/index.php?title=Edit_rules&curid=14083&action=history

Details

Reference
bz1326
TitleReferenceAuthorSource BranchDest Branch
Replace an-druid1001 by an-druid1002 in druid connection stringsrepos/data-engineering/airflow-dags!543brouberolan-druid-connection-stringmain
GitLabPatchesCustomField: check array indices before userepos/phabricator/extensions!4brennenwork/robustify-mr-widgetwmf/stable
Customize query in GitLab

Event Timeline

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

rowan.collins wrote:

use the wiki's content language when inserting this comment

Here's a simple patch for the easy way out: use wfMsgForContent() rather than
wfMsg().

Attached: