User "Catrope" posted a comment on MediaWiki.r104521.

Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/104521#c26691
Commit summary:

Experimental option $wgMathUseMathJax to have Extension:Math load things via 
MathJax.

If enabled, by default loads MathJax from a CDN and forces all equations 
through MathJax when JavaScript is available -- the image or source form gets 
used only as <noscript> fallback.

This has a couple of problems for us:
* if scripts are missing -- such as when viewed via MobileFrontend -- you end 
up with no math at all, as the <script type="math/tex"> bits get ignored but 
the <noscript> still hides the images.
* while MathJax is loading things, blank spots on the page may appear and stuff 
jumps around
* if loading new text in via ajax, it doesn't trigger there

Also using some fairly default config, no idea how appropriate it is. Hoping to 
get some insight from Nageh who's done some of the MathJax work on Wikipedia so 
far - 
<https://en.wikipedia.org/wiki/User_talk:Nageh#MathJax_integration_into_stock_MediaWiki>

Comment:

I'm not sure whether this should be the default. We'd have to customize this on 
WMF due to privacy policy (tracking visitors) and security (3rd party JS can 
steal cookies and/or do other scary things), and I think many other installs 
will have the same concerns.

_______________________________________________
MediaWiki-CodeReview mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview

Reply via email to