mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-11-27 17:01:07 +00:00
MathJax Localization: Remove language menu
This way the cookie is never set and MathJax simply always follows the MediaWiki language. Follow up of Ibf43a3e44ea2bfdbd9fddc01c71c72ba097ff1b7 Bug: 35038 Change-Id: Ie7530d3a904fb39945ba8b8d261852c2b8cb666b
This commit is contained in:
parent
df9cfe846b
commit
296bc66540
|
@ -23,13 +23,16 @@
|
|||
imageFont: null,
|
||||
availableFonts: ['TeX'],
|
||||
mtextFontInherit: true
|
||||
},
|
||||
MathMenu: {
|
||||
showLocale: false
|
||||
}
|
||||
}, mathJax.config );
|
||||
|
||||
mathJax.Config = function () {
|
||||
MathJax.Hub.Config( mathJax.config );
|
||||
MathJax.OutputJax.fontDir = mw.config.get('wgExtensionAssetsPath') + '/Math/modules/MathJax/fonts';
|
||||
MathJax.Localization.locale = MathJax.Hub.config.menuSettings.locale = mw.config.get('wgUserLanguage');
|
||||
MathJax.Localization.locale = mw.config.get('wgUserLanguage');
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue