Last modified: 2012-02-24 02:52:16 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T35664, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 33664 - RTL language home pages rendering in LTR
RTL language home pages rendering in LTR
Status: RESOLVED FIXED
Product: Wikipedia App
Classification: Unclassified
Generic (Other open bugs)
1.0.0 (Android)
All All
: Normal normal
: ---
Assigned To: Yuvi Panda
:
Depends on:
Blocks: 31447
  Show dependency treegraph
 
Reported: 2012-01-11 18:33 UTC by Phil Chang
Modified: 2012-02-24 02:52 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: Android
Assignee Huggle Beta Tester: ---


Attachments

Description Phil Chang 2012-01-11 18:33:19 UTC
Possibly all RTL language home pages are rendering in LTR, but only the home page seems to be affected.
Comment 1 Tomasz Finc 2012-01-11 18:55:07 UTC
Brion says that RTL language support is really poor in Android 2.x . 3.x+ does a much better job.
Comment 2 Brion Vibber 2012-01-11 19:36:47 UTC
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:
* page title
* main page sections

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>.
Comment 3 Brion Vibber 2012-01-11 19:50:54 UTC
[master 0192339] Fix for bug 33664: apply dir & lang attributes to all content, including title & main page extracts

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links