https://bugzilla.wikimedia.org/show_bug.cgi?id=62351

            Bug ID: 62351
           Summary: MobileFrontend doesn't correctly handle LTR content in
                    RTL contexts
           Product: MobileFrontend
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: stable
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: rkald...@wikimedia.org
                CC: aricha...@wikimedia.org, jgon...@wikimedia.org,
                    jrob...@wikimedia.org, kw...@wikimedia.org,
                    maxsem.w...@gmail.com, rkald...@wikimedia.org,
                    tf...@wikimedia.org
       Web browser: ---
   Mobile Platform: ---

Compare:
https://en.wikipedia.org/wiki/Paper_clip?uselang=he
https://en.m.wikipedia.org/wiki/Paper_clip?uselang=he&mobileaction=beta

On desktop, the content div specifies the text direction based on the content
language:
<div id="mw-content-text" class="mw-content-ltr" lang="en" dir="ltr">

On mobile, we don't:
<div id="content" class="content">

The first step to fixing this is to add dir="xxx" to the content div. That will
fix the text alignment and punctuation. We may also want to change how we
handle aligning images and TOC to match desktop as well (but see Bug 62349).

-- 
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

Reply via email to