mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-11-25 07:56:58 +00:00
58f913ecb0
To adjust the selectable math rendering modes in user preferences $wgMathValidModes is introduced. * $wgUseLaTeXML becomes unnecessary use $wgMathValidModes[] = MW_MATH_LATEXML; to enable the LaTeXML rendering mode * add $wgMathValidModes[] = MW_MATH_MATHJAX; to enable MathJax Currently, MathJax is bound to the MW_MATH_SOURCE rendering mode. This change makes the base mode user configurable. That means before MathJax is loaded the png fallback image could be displayed. ATTENTION: This change modifies global variables as follows: * MW_MATH_MATHJAX is deprecated. Bug: 57981 Change-Id: Ibf705cb66754d04e4c7eafd1e98608b25d7dbb94
15 lines
521 B
Plaintext
15 lines
521 B
Plaintext
== Math 2.0 ==
|
|
|
|
THIS IS NOT A RELEASE YET
|
|
|
|
Math 2.0 is an alpha-quality branch and is not recommended for use in
|
|
production.
|
|
|
|
=== Configuration changes in 2.0 ===
|
|
* $wgLaTeXMLUrl was renamed to $wgMathLaTeXMLUrl
|
|
* $wgLaTeXMLTimeout was renamed to $wgMathLaTeXMLTimeout
|
|
* $wgMathValidModes is introduced:
|
|
It determines the selectable math rendering modes MW_MATH_(PNG|MATHML|...) in user preferences.
|
|
* $wgUseLaTeXML becomes unnecessary use $wgMathValidModes[] = MW_MATH_LATEXML;
|
|
to enable the LaTeXML rendering mode.
|