Last modified: 2011-04-05 19:52:03 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 T30430, the corresponding Phabricator task for complete and up-to-date bug report information.
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
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Math (Other open bugs)
unspecified
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: ---


Attachments

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.


Navigation
Links