In desktop MediaWiki there's a clear separation between user interface language and content language. They can be different. For example, in Commons the content language is English, but many people browse it in other languages.
This is not done in MobileFrontend. This is especially apparent if the direction (ltr/rtl) of the user language is different from the content language.
To see the problem do this:
- Log in to http://meta.wikimedia.org .
- Go to preferences and change your language to Hebrew.
- Go to https://meta.m.wikimedia.org/wiki/Wikimedia_Forum .
Expected: The content of the page is supposed to be set to left-to-right direction.
Observed: The content of the page is right-to-left.
The attributes lang="he" dir="rtl" from <html> are applied to the whole page.
<div id="content"> should probably have lang="en" dir="ltr" (or whatever is needed according to the site's content language).