Last modified: 2014-07-12 17:39:57 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 T56026, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 54026 - MathJax introduces new ways to enter math
MathJax introduces new ways to enter math
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
Math (Other open bugs)
master
All All
: Unprioritized major (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on: 35479
Blocks:
  Show dependency treegraph
 
Reported: 2013-09-11 18:43 UTC by physikerwelt
Modified: 2014-07-12 17:39 UTC (History)
6 users (show)

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


Attachments

Description physikerwelt 2013-09-11 18:43:27 UTC
In the MathJax mode span elements, that any user can enter like
<span class="tex">\sum_{i=0}^\infty \frac1{2^i}=2</span>
will be rendered as math, whereas this is not visible if the MathPNG, MathSource or MathLaTeXML is used.
Comment 1 Frédéric Wang 2013-09-11 19:15:04 UTC
OK, I guess this will be fixed if we use <script type="mml/tex"> tag in the future (unless users can enter script tag of course).
Comment 2 Matthew Flaschen 2013-09-17 10:21:26 UTC
Users can not enter script tags (with any type); tags that are not whitelisted are HTML-encoded.  See https://en.wikipedia.org/w/index.php?title=User:Superm401/Sandbox&oldid=573293058 for a demo with mml/tex
Comment 3 physikerwelt 2014-02-08 12:21:34 UTC
Still not fixed in MathJax 2.3
Comment 4 physikerwelt 2014-02-08 12:21:43 UTC
(In reply to comment #3)
> Still not fixed in MathJax 2.3

https://en.wikipedia.org/wiki/User:Physikerwelt/sandbox
Comment 5 Peter Krautzberger 2014-02-13 21:31:44 UTC
@physikerwelt This is caused by a bad configuration within the Math extension, it is not the default behavior of MathJax to render such a span.
Comment 6 Derk-Jan Hartman 2014-04-05 15:56:37 UTC
It's Javascript, the only way you can do post processing. Select this and now convert. Should be fixed by switching to script based output, because that's not something that can be entered by users.
Comment 7 Frédéric Wang 2014-04-06 13:28:06 UTC
I thought physikerwelt's plan was to switch to MathML+SVG+PNG output by default, with server-side conversion so the TeX source problem becomes irrelevant here.

However, for people who still want to use the client-side MathJax mode, wiki2jax will still process the TeX source (in the PNG alt text or in a span) and a user can enter it.
Comment 8 physikerwelt 2014-07-12 17:39:30 UTC
In principal this issue has been solved by texvccheck.
However, it's disabled via config
https://git.wikimedia.org/blob/operations%2Fmediawiki-config/bf53aa2d778587d4265cd77215b9396bfaa8885d/wmf-config%2FCommonSettings.php#L2043

Maybe we find a way to test if the performance issue is solved? However I have no idea how we could test that and who could help us with that.

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


Navigation
Links