-
Notifications
You must be signed in to change notification settings - Fork 231
MathJax and MediaWiki
E.g. https://groups.google.com/d/msg/mathjax-users/0UOAnf5LIDw/Qv76jHRl-NgJ
I set up my wiki server (original latest version from mediawiki.org 1.19) and OS is Win 7
'Cause need some TeX represents, I tried several methods but most of them didn't work.
Finally I got mathjax.
It show proper result in preview of wikieditor! It was amazing!
In redbox, TeX form rendered successfully! It is exactly what i want!
After save this wiki, HOWEVER, those TeX not rendered......
Moreover, strange notation ( and ) cover my TeX fomulas.
For example, I wanna input right arrow (→ like this). So I type this line in my wiki page.
\RightArrow
But, my wiki shows proper TeX in preview only. After save, (\RightArrow) placed where → should be!
This is document after save.
I installed mathjax to my wiki through download two files(http://www.mediawiki.org/wiki/Extension:MathJax -> http://people.cs.kuleuven.be/~dirk.nuyens/Extension_MathJax/, MathJax.php and mwMathJaxConfig.js) and put them in extensions/MathJax.
Did I do incorrect installation? or I have to set more options?
Bring me some help, please.
Try disabling caching by adding "$wgParserCacheType = CACHE_NONE;" to your LocalSettings.php (and make certain it is not set to a different value afterwards in the same file). A similar question arises on the Discussion page http://www.mediawiki.org/wiki/Extension_talk:MathJax and this setting is also mentioned on the installation page.
Dirk.
--
I think Dirk's comment is the right answer. See also
https://github.com/mathjax/MathJax/issues/248
for a similar discussion with an earlier version of MediaWiki.