Last modified: 2014-07-12 17:39:57 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.
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).
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
Still not fixed in MathJax 2.3
(In reply to comment #3) > Still not fixed in MathJax 2.3 https://en.wikipedia.org/wiki/User:Physikerwelt/sandbox
@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.
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.
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.
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.