Page MenuHomePhabricator

MobileFrontend doesn't correctly handle LTR content in RTL contexts
Closed, ResolvedPublic

Description

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


Version: unspecified
Severity: normal

Details

Reference
bz62351

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:07 AM
bzimport set Reference to bz62351.
bzimport added a subscriber: Unknown Object (MLST).
kaldari created this task.Mar 6 2014, 11:53 PM

Isn't this bug 61258 ?

bingle-admin wrote:

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

See http://en.m.wikipedia.beta.wmflabs.org/wiki/Forty-seven_Ronin?uselang=he

  • This bug has been marked as a duplicate of bug 61258 ***
Restricted Application added a project: I18n. · View Herald TranscriptJun 2 2015, 2:20 PM