Author: philinje
Description:
Possibly all RTL language home pages are rendering in LTR, but only the home page seems to be affected.
Version: 1.0.0 (Android)
Severity: normal
Author: philinje
Description:
Possibly all RTL language home pages are rendering in LTR, but only the home page seems to be affected.
Version: 1.0.0 (Android)
Severity: normal
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Resolved | None | T33702 Android app shows blank screen after network failure | |||
| Resolved | • Tfinc | T33447 Android App 1.0 release (tracking) | |||
| Resolved | yuvipanda | T35664 RTL language home pages rendering in LTR |
Brion says that RTL language support is really poor in Android 2.x . 3.x+ does a much better job.
This seems to be independent of the general rendering problems with Arabic; things seem to be left-aligned outside the main content area.
This affects:
Regular page content appears to be right-aligned as expected.
The bodyContent (the regular page content) contains a wrapper which forces the language & direction properly:
<div lang="ar" xml:lang="ar" class="mw-content-rtl" dir="rtl">
whereas there appears to be no such thing inside the title or main page sections. So when we extract them, they end up sitting in what's an overall LTR/english context by default.
Probably should grab the lang & dir attributes from the whole web page and slurp those in, if possible. They appear to be on the <html>, not on the <body>.
[master 0192339] Fix for bug 33664: apply dir & lang attributes to all content, including title & main page extracts