Last modified: 2011-04-05 19:52:03 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 28430 - math must always be left-to-right, even when rendered as HTML
math must always be left-to-right, even when rendered as HTML
Product: MediaWiki extensions
Classification: Unclassified
Math (Other open bugs)
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
Blocks: rtl
  Show dependency treegraph
Reported: 2011-04-05 11:05 UTC by Amir E. Aharoni
Modified: 2011-04-05 19:52 UTC (History)
1 user (show)

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


Description Amir E. Aharoni 2011-04-05 11:05:05 UTC
Math formulas are always left-to-right (LTR), even in right-to-left languages. In PNG rendering this works correctly, but in HTML rendering the formula may appear reversed. For example, <math>^{355}/_{113}</math> will look in HTML rendering as 113/355, even though it should be 355/113. Since "HTML if very simple or else PNG" is the default preference, this makes many formulas appear incorrectly in RTL wikis.

When HTML rendering is used, span dir="ltr" or style="direction: rtl" must be applied to the formula.
Comment 1 Bawolff (Brian Wolff) 2011-04-05 19:52:03 UTC
fixed in r85464. Also made the plain TeX output mode be ltr. Hope that's correct.

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