Rename confusingly named function
Change-Id: I685a1658ec911e28cba4c9d3d7cbaaf4f1cca22e
This commit is contained in:
@@ -71,7 +71,7 @@
|
|||||||
this.name = $.i18n( 'ext-uls-input-settings-title-short' );
|
this.name = $.i18n( 'ext-uls-input-settings-title-short' );
|
||||||
this.description = $.i18n( 'ext-uls-input-settings-desc' );
|
this.description = $.i18n( 'ext-uls-input-settings-desc' );
|
||||||
this.$template = $( template );
|
this.$template = $( template );
|
||||||
this.imeLanguage = this.getImeLanguage();
|
this.imeLanguage = this.getInterfaceLanguage();
|
||||||
this.contentLanguage = this.getContentLanguage();
|
this.contentLanguage = this.getContentLanguage();
|
||||||
this.$imes = null;
|
this.$imes = null;
|
||||||
this.$parent = $parent;
|
this.$parent = $parent;
|
||||||
@@ -376,8 +376,7 @@
|
|||||||
* Get the current user interface language.
|
* Get the current user interface language.
|
||||||
* @returns String Current UI language
|
* @returns String Current UI language
|
||||||
*/
|
*/
|
||||||
// XXX: Probably bad name
|
getInterfaceLanguage: function () {
|
||||||
getImeLanguage: function () {
|
|
||||||
return mw.config.get( 'wgUserLanguage' );
|
return mw.config.get( 'wgUserLanguage' );
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user