Last modified: 2014-02-12 23:52:40 UTC
The direction of interface messages in MobileFrontent seems to be always based on $wgLanguageCode. So, for example, if $wgLanguageCode is "en" and you ask for a page with uselang=he, the interface messages will appear as LTR, and that would be wrong. Among other things, the ellipsis at the end of the search label will appear on the right-hand side, even though it's supposed to be on the left-hand side for Hebrew. For comparison, you can easily use http://en.wikipedia.org/?uselang=he and see English content with Hebrew interface. Since MediaWiki 1.18, core MediaWiki supports good separation between interface language and content language (Bug 6100). The scenario described above is not, by itself, very important, so this bug does not currently have a high priority, but ideally BiDi practices from core MediaWiki should be used as much as possible in MobileFrontend, too.
Amir, does it look OK with https://gerrit.wikimedia.org/r/#change,5361 ?
I didn't review the code in detail, but the problem as described in the opening comment doesn't appear any more in this version.
Merged with 6d19e1e3a6cfbf8e2eae5c618c765cc3b2b66061 - https://gerrit.wikimedia.org/r/#change,5361