Last modified: 2013-06-24 16:04:16 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 43678 - Commons main_page for RTL languages
Commons main_page for RTL languages
Status: NEW
Product: Wikimedia
Classification: Unclassified
General/Unknown (Other open bugs)
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
: i18n
Depends on:
Blocks: rtl
  Show dependency treegraph
Reported: 2013-01-06 12:47 UTC by reza1615
Modified: 2013-06-24 16:04 UTC (History)
4 users (show)

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


Comment 1 Andre Klapper 2013-01-07 13:03:27 UTC
You could apply this to *any* main page, such as requesting to link to instead.
I don't see a special case for Farsi/Persian here.

Maybe for non-logged in users it is a good idea, but for logged in users this sounds like a potential WONTFIX as there are plans to set the prefered language via UniversalLanguageSelector once that is deployed on more wikis).
Comment 2 reza1615 2013-01-07 14:23:54 UTC
I mean for all RTL languages for example if you set he for your default language if you click on main page still it is LTR but for de it doesn't have any problem 
this problem is major for RTL languages that their main page should be RTL
I will change this request for RTL language
Comment 3 reza1615 2013-01-07 14:28:21 UTC
in we use and all user redirected to commons and it is not good to have different direction in a site!
Comment 4 Huji 2013-01-19 17:28:11 UTC
This is not a MediaWiki bug, but a feature request for a Wikimedia website. Hence the change of bug settings.

One possible solution will be to add a JS to MediaWiki:Common.js on Commons project that will automatically redirect users if they are landing on one of the non-english Main Pages. In that case, this is not even a bug that has to be handled on bugzilla, IMHO.
Comment 5 reza1615 2013-01-19 17:31:28 UTC
No maybe user's preference is English and he redirected to commons with

we can not check users preference in JS (or I don't know how it is possible )
Comment 6 Huji 2013-01-19 17:36:46 UTC
User options are already exposed to JS. Look at the source code of pages, and you'll see mw.loader.implement implements user.options where user's choice of language and variant is stored.

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