https://bugzilla.wikimedia.org/show_bug.cgi?id=61258
Web browser: --- Bug ID: 61258 Summary: UI language code and direction is applied to content in MobileFrontent Product: MediaWiki extensions Version: unspecified Hardware: All OS: All Status: NEW Severity: normal Priority: Unprioritized Component: MobileFrontend Assignee: wikibugs-l@lists.wikimedia.org Reporter: amir.ahar...@mail.huji.ac.il CC: aricha...@wikimedia.org, jgon...@wikimedia.org, jrob...@wikimedia.org, kw...@wikimedia.org, maxsem.w...@gmail.com, mpinc...@wikimedia.org, rkald...@wikimedia.org, tf...@wikimedia.org Blocks: 745 Classification: Unclassified Mobile Platform: --- 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: 1. Log in to http://meta.wikimedia.org . 2. Go to preferences and change your language to Hebrew. 3. 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). -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l