Last modified: 2014-10-19 19:11:13 UTC
Following directions from Math extension wiki, I have disabled PNG rendering ($wgMathValidModes = array( MW_MATH_SOURCE );). However, this setting in LocalSettings.php leads to a MWException in preferences, if previously have not been set Appearance->Math preferences to "Leave it as Tex" and "Mathjax".
did you set /** * Option to use MathJax library to do client-side math rendering * when JavaScript is available. In supporting browsers this makes nice output * that's scalable for zooming, printing, and high-resolution displays. * * Not guaranteed to be stable at this time. */ $wgUseMathJax = true; The correct name would be $wgMathJax, since $wgUseMathJax violates the naming conventions and makes it difficould to find, given the large amount of config option. I made several attempts to change that but I never got code review for that. So I resigned from that change.
Yes, I set this option (as advised on the Math extension).
To avoid this problem we have changed the possible rendering modes. $wgMathValidModes = array( MW_MATH_SOURCE, MW_MATH_MATHJAX ); should do the job.