Extension:Math/CustomizationHook

How to Create an MediaWiki Hook to Customize MathJax
$wgResourceModules += array(     'ext.math.mathjax.customize' => array( 'dependencies' => 'ext.math.mathjax.mathjax' ) ); mw.loader.load( 'ext.math.mathjax.customize' ); Add this after the MathJax.Hub.Config call in the function mathJax.Init.
 * Add the following code in the file Math.php. This defines the hook 'ext.math.mathjax.customize'.
 * Then add the following code to specify where the hook is called.
 * Now you can use the hook to modify the MathJax configuration.