Page MenuHomePhabricator

"marked as resolved" log messages appear in user language, not in contentlanguage
Open, Needs TriagePublic

Description

See https://www.mediawiki.org/w/index.php?title=Topic:U5rapzs69e5t4x15&action=history. The "marcado como resuelto" should not appear on the logs in the language defined by the user in their user preferences but on the language the site is configured. Thanks.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Checked in betalabs - interesting, only 'Resolve' action will be presented in user-set language.

In the screenshot, user ET14 has set the preferred language to German - all actions except Resolve are displayed in English.

Screen Shot 2018-02-13 at 1.26.59 PM.png (1,180×214 px, 107 KB)

What you see in parenthesis is the moderation reason provided on the API call when resolving or reopening a topic. As far as the history page is concerned, this is not a message but a string to be displayed as-is.

The problem is that all flow moderation actions require a reason but since the Flow UI doesn't allow one to be entered for resolve/reopen, a simple string (marked as resolved) is built from a message and used as the reason.