mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-11-24 15:44:33 +00:00
Add mathchoice.js to the 'TeX' module
mathchoice.js is necessary for the \mod command. This patch includes it in the TeX module, so that it is included by ResourceLoader. Bug: 63621 Change-Id: I624358baee04d396207e87ab81b47718573ea3b3
This commit is contained in:
parent
c782b62261
commit
b9353836c5
2
Math.php
2
Math.php
|
@ -263,7 +263,7 @@ $wgResourceModules += array(
|
|||
'ext.math.mathjax.extensions.TeX' => array(
|
||||
'localBasePath' => __DIR__ . '/modules/MathJax/unpacked/extensions',
|
||||
'remoteExtPath' => 'Math/modules/MathJax/unpacked/extensions',
|
||||
'scripts' => array( 'wiki2jax.js', 'TeX/noUndefined.js', 'TeX/AMSmath.js', 'TeX/AMSsymbols.js', 'TeX/boldsymbol.js', 'TeX/color.js', 'TeX/cancel.js','TeX/texvc.js' ),
|
||||
'scripts' => array( 'wiki2jax.js', 'TeX/noUndefined.js', 'TeX/AMSmath.js', 'TeX/AMSsymbols.js', 'TeX/boldsymbol.js', 'TeX/color.js', 'TeX/cancel.js', 'TeX/mathchoice.js', 'TeX/texvc.js' ),
|
||||
'dependencies' => array( 'ext.math.mathjax.mathjax' )
|
||||
),
|
||||
'ext.math.mathjax.extensions.mml2jax' => array(
|
||||
|
|
Loading…
Reference in a new issue