From b9353836c56d670f99ab53f81b6c4d1cc5dd07ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Wang?= Date: Mon, 7 Apr 2014 20:52:03 +0200 Subject: [PATCH] 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 --- Math.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Math.php b/Math.php index 0e863da..9e18e13 100644 --- a/Math.php +++ b/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(