# 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 52619 - MathJax mode does not respect content direction (aka "rtl")
 Summary: MathJax mode does not respect content direction (aka "rtl")
 Status: Product: RESOLVED WORKSFORME MediaWiki extensions Unclassified Component: Math (Other open bugs) unspecified All All Normal normal (vote) --- Nobody - You can work on this! i18n rtl Show dependency tree / graph

 Reported: 2013-08-07 22:57 UTC by kipod 2014-10-19 18:55 UTC (History) 5 users (show) hartman.wiki mflaschen ori peter.krautzberger physik --- --- ---

Attachments
screenshot (37.58 KB, image/png)
2013-09-10 15:34 UTC, Frédéric Wang
Details

 kipod 2013-08-07 22:57:00 UTC in RTL wikis, when using MathJax, formulas are left-aligned. with either TeX or PNG modes, the formulas are right-aligned on RTL wikis. this causes completely different page rendering for users who render formulas with MathJax, vs. users who render Math as png (or TeX, for that matter). peace. Andre Klapper 2013-08-27 15:56:53 UTC (In reply to comment #0) > in RTL wikis, when using MathJax, formulas are left-aligned. Is there a page / testcase where this problem can be seen? kipod 2013-08-28 02:34:29 UTC see https://he.wikipedia.org/w/index.php?title=%D7%95%D7%99%D7%A7%D7%99%D7%A4%D7%93%D7%99%D7%94:%D7%93%D7%9C%D7%A4%D7%A7_%D7%99%D7%99%D7%A2%D7%95%D7%A5&oldid=14476142 at the bottom of the page (next to the "bug reported in bugzilla" template). note that the formula is right-aligned if you choose mathjx in preferences, and right-aligned when you choose "png" display for math formulas. peace. Peter Krautzberger 2013-09-05 03:52:59 UTC MathJax currently does not yet support RTL. In our defense, neither does any browser (for MathML). Peter Krautzberger 2013-09-05 03:54:15 UTC For future reference: http://docs.mathjax.org/en/latest/mathml.html#supported-mathml-commands. For context: MathJax converts TeX to MathML internally and then renders MathML. kipod 2013-09-05 15:59:58 UTC (In reply to comment #3) > MathJax currently does not yet support RTL. In our defense, neither does any > browser (for MathML). i do not think this is relevant to the bug. MW software (or rather, the math extension) packages the mathJax part inside a div with style="text-align: left". when content direction is RTL, we should change this to "right". afaik, this should not affect the mathjax appearance - i think that this wrapper div is not part of matjax. peace - ~~~~ Frédéric Wang 2013-09-10 15:34:10 UTC Created attachment 13266 [details] screenshot That seems to work correctly for me on the Math Extension master branch. kipod 2013-09-11 19:47:59 UTC (In reply to comment #6) > Created attachment 13266 [details] > screenshot > > That seems to work correctly for me on the Math Extension master branch. was this tested on an RTL wiki? peace. physikerwelt 2014-10-19 18:55:55 UTC The screenshot indicates that it works.

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