mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-11-24 07:34:22 +00:00
Revert "Added a hook for modifications to MathJax"
This reverts commit 0a8fbac418
.
Change-Id: If4442d07e4d82e1f45211bb2b331221c62fadbb8
This commit is contained in:
parent
0a8fbac418
commit
7f6db28dd6
4
Math.php
4
Math.php
|
@ -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',
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue