Merge "Revert "Added a hook for modifications to MathJax""

This commit is contained in:
jenkins-bot 2014-08-19 21:00:44 +00:00 committed by Gerrit Code Review
commit 7145c366d7
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