Page MenuHomePhabricator

array( 'parse' ) causes the message to be always in English
Closed, DeclinedPublic

Description

Author: jgonera

Description:
To reproduce:

Open your wiki with ?uselang=ja as a query string, open mobile editor. The heading should be in Japanese. It's not.


Version: unspecified
Severity: normal

Details

Reference
bz58356

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 2:14 AM
bzimport set Reference to bz58356.
bzimport added a subscriber: Unknown Object (MLST).

bingle-admin wrote:

Prioritization and scheduling of this bug is tracked on Mingle card https://wikimedia.mingle.thoughtworks.com/projects/mobile/cards/1502

jgonera wrote:

This happens only with ?uselang=xx not when setting the language in LocalSetting.php so it's not as critical as I thought.

The offending line is in MFResourceLoaderModule.php

wfMessage( $key )->parse();

I suspect wfMessage in this context is not familiar with the current language.

jaredflores2000 wrote:

Just a quick question: What are the "headings" in the mobile editor?

Can't repro - maybe the particular message wasn't localized at the time?

Yeh I can't reproduce either...