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,
|
imageFont: null,
|
||||||
availableFonts: ['TeX'],
|
availableFonts: ['TeX'],
|
||||||
mtextFontInherit: true
|
mtextFontInherit: true
|
||||||
|
},
|
||||||
|
MathMenu: {
|
||||||
|
showLocale: false
|
||||||
}
|
}
|
||||||
}, mathJax.config );
|
}, mathJax.config );
|
||||||
|
|
||||||
mathJax.Config = function () {
|
mathJax.Config = function () {
|
||||||
MathJax.Hub.Config( mathJax.config );
|
MathJax.Hub.Config( mathJax.config );
|
||||||
MathJax.OutputJax.fontDir = mw.config.get('wgExtensionAssetsPath') + '/Math/modules/MathJax/fonts';
|
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 New Issue