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:
Derk-Jan Hartman 2013-06-04 22:47:48 +02:00
parent df9cfe846b
commit 296bc66540

View file

@ -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');
};
/**