Set menuSettings.locale
That one is necessary, and MathJax.Localization.locale will copy it automatically. Bug: 35038 Change-Id: I4e21cc5cdcb0d7a31a97b3b136d725f67a53f75c
This commit is contained in:
parent
296bc66540
commit
f420e06763
|
@ -17,6 +17,7 @@
|
|||
'v1.0-compatible': false,
|
||||
displayAlign: 'left',
|
||||
menuSettings: {
|
||||
locale: mw.config.get('wgUserLanguage'),
|
||||
zoom: 'Click'
|
||||
},
|
||||
'HTML-CSS': {
|
||||
|
@ -32,7 +33,6 @@
|
|||
mathJax.Config = function () {
|
||||
MathJax.Hub.Config( mathJax.config );
|
||||
MathJax.OutputJax.fontDir = mw.config.get('wgExtensionAssetsPath') + '/Math/modules/MathJax/fonts';
|
||||
MathJax.Localization.locale = mw.config.get('wgUserLanguage');
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue