Revert "Added a hook for modifications to MathJax"

This reverts commit 0a8fbac418.

Change-Id: If4442d07e4d82e1f45211bb2b331221c62fadbb8
This commit is contained in:
Physikerwelt 2014-08-19 19:13:35 +00:00
parent 0a8fbac418
commit 7f6db28dd6
2 changed files with 0 additions and 6 deletions

View file

@ -465,10 +465,6 @@ $wgResourceModules += array(
'scripts' => array( 'Fraktur/Bold/BasicLatin.js', 'Fraktur/Bold/Other.js', 'Fraktur/Bold/PUA.js', 'Fraktur/Regular/BasicLatin.js', 'Fraktur/Regular/Other.js', 'Fraktur/Regular/PUA.js', 'SansSerif/Bold/BasicLatin.js', 'SansSerif/Bold/CombDiacritMarks.js', 'SansSerif/Bold/Other.js', 'SansSerif/Italic/BasicLatin.js', 'SansSerif/Italic/CombDiacritMarks.js', 'SansSerif/Italic/Other.js', 'SansSerif/Regular/BasicLatin.js', 'SansSerif/Regular/CombDiacritMarks.js', 'SansSerif/Regular/Other.js', 'Script/Regular/BasicLatin.js', 'Typewriter/Regular/BasicLatin.js', 'Typewriter/Regular/CombDiacritMarks.js', 'Typewriter/Regular/Other.js' )
) + $moduleTemplateSVG
);
$wgResourceModules += array(
'ext.math.mathjax.customize' => array(
'dependencies' => 'ext.math.mathjax.mathjax' )
);
$moduleTemplate = array(
'localBasePath' => __DIR__ . '/modules',

View file

@ -103,8 +103,6 @@
mathJax.Init = function () {
// Configure MathJax
MathJax.Hub.Config( mathJax.config );
// This hook can be used to override MathJax configuration.
mw.loader.load( 'ext.math.mathjax.customize' );
MathJax.OutputJax.fontDir = mw.config.get( 'wgExtensionAssetsPath' ) + '/Math/modules/MathJax/fonts';
// Redefine MathJax.Hub.Startup.Jax