[MediaWiki-commits] [Gerrit] Revert Added a hook for modifications to MathJax - change (mediawiki...Math)
Physikerwelt has uploaded a new change for review. https://gerrit.wikimedia.org/r/155099 Change subject: Revert Added a hook for modifications to MathJax .. Revert Added a hook for modifications to MathJax This reverts commit 0a8fbac418987b81993a4d41e52652096d90d3bc. Change-Id: If4442d07e4d82e1f45211bb2b331221c62fadbb8 --- M Math.php M modules/ext.math.mathjax.enabler.js 2 files changed, 0 insertions(+), 6 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Math refs/changes/99/155099/1 diff --git a/Math.php b/Math.php index 7773ca4..d5d295e 100644 --- a/Math.php +++ b/Math.php @@ -465,10 +465,6 @@ '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', diff --git a/modules/ext.math.mathjax.enabler.js b/modules/ext.math.mathjax.enabler.js index be024a3..ec56d1e 100644 --- a/modules/ext.math.mathjax.enabler.js +++ b/modules/ext.math.mathjax.enabler.js @@ -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 -- To view, visit https://gerrit.wikimedia.org/r/155099 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: If4442d07e4d82e1f45211bb2b331221c62fadbb8 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Math Gerrit-Branch: master Gerrit-Owner: Physikerwelt w...@physikerwelt.de ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
[MediaWiki-commits] [Gerrit] Revert Added a hook for modifications to MathJax - change (mediawiki...Math)
jenkins-bot has submitted this change and it was merged. Change subject: Revert Added a hook for modifications to MathJax .. Revert Added a hook for modifications to MathJax This reverts commit 0a8fbac418987b81993a4d41e52652096d90d3bc. Change-Id: If4442d07e4d82e1f45211bb2b331221c62fadbb8 --- M Math.php M modules/ext.math.mathjax.enabler.js 2 files changed, 0 insertions(+), 6 deletions(-) Approvals: Physikerwelt: Looks good to me, approved jenkins-bot: Verified diff --git a/Math.php b/Math.php index 7773ca4..d5d295e 100644 --- a/Math.php +++ b/Math.php @@ -465,10 +465,6 @@ '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', diff --git a/modules/ext.math.mathjax.enabler.js b/modules/ext.math.mathjax.enabler.js index be024a3..ec56d1e 100644 --- a/modules/ext.math.mathjax.enabler.js +++ b/modules/ext.math.mathjax.enabler.js @@ -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 -- To view, visit https://gerrit.wikimedia.org/r/155099 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: If4442d07e4d82e1f45211bb2b331221c62fadbb8 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Math Gerrit-Branch: master Gerrit-Owner: Physikerwelt w...@physikerwelt.de Gerrit-Reviewer: Frédéric Wang fred.w...@free.fr Gerrit-Reviewer: Physikerwelt w...@physikerwelt.de Gerrit-Reviewer: TheDJ hartman.w...@gmail.com Gerrit-Reviewer: jenkins-bot ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits