Last modified: 2014-10-16 21:35:10 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 T66617, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 64617 - List of languages looks strange when mixes RTL and LTR languages
List of languages looks strange when mixes RTL and LTR languages
Status: NEW
Product: MobileFrontend
Classification: Unclassified
stable (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Amir E. Aharoni
: design
Depends on: 72153
Blocks: 28708
  Show dependency treegraph
 
Reported: 2014-04-29 17:59 UTC by Jon
Modified: 2014-10-16 21:35 UTC (History)
9 users (show)

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


Attachments
Arabic a RTL language, shown 2 from bottom is written in LTR (30.06 KB, image/png)
2014-05-23 14:34 UTC, Jon
Details

Description Jon 2014-04-29 17:59:10 UTC
Copying from Amir:
Items in the language list are in a mix of RTL and LTR languages.
This makes the list somewhat strangely aligned.
Centering it makes sense - that's how language lists are shown on
an iPhone, for example.
Comment 1 Jon 2014-04-29 17:59:28 UTC
 It doesn't look very good on a tablet screen for one and it also creates an inconsistency with the other lists we have e.g. nearby, watchlist and pages. Adding a small amount of CSS for one specific use case seems like a bad code smell so I'd like us to be a bit more cautious here.
Would it not be better to add dir attributes to list items?
Comment 2 Gerrit Notification Bot 2014-04-29 17:59:37 UTC
Change 127613 had a related patch set uploaded by Jdlrobson:
Center the language list

https://gerrit.wikimedia.org/r/127613
Comment 3 Jon 2014-05-21 16:48:18 UTC
Doesn't look like this is being actively worked on.
Comment 4 Gerrit Notification Bot 2014-05-21 16:49:39 UTC
Change 127613 abandoned by Jdlrobson:
Center the language list

Reason:
This patch has been abandoned due to lack of activity. Note this should not be taken as an aggressive move - it is simply to clear up the code review queue. Please feel free to amend this patch and resubmit this at a later date! Thanks :)

https://gerrit.wikimedia.org/r/127613
Comment 5 Bingle 2014-05-21 17:19:45 UTC
Prioritization and scheduling of this bug is tracked on Trello card https://trello.com/c/OD3t1a5u
Comment 6 Juliusz Gonera 2014-05-23 14:17:19 UTC
What are the steps or platform required to see this? A screenshot perhaps?
Comment 7 Jon 2014-05-23 14:34:29 UTC
Created attachment 15462 [details]
Arabic a RTL language, shown 2 from bottom is written in LTR
Comment 8 Jon 2014-10-06 19:32:36 UTC
Let's just add a direction attribute to each individual language in the overlay? It would also allow us to categorise languages in the overlay by RTL/LTR which would be a neat feature...
Comment 9 Jon 2014-10-07 21:46:34 UTC
Amir it seems the API doesn't return the direction of a language. Do you know if it is possible with a query like:
https://en.wikipedia.org/wiki/Special:ApiSandbox#action=query&meta=siteinfo&format=json&siprop=general%7Clanguages

?

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


Navigation
Links