Merge "Rename confusingly named function"

This commit is contained in:
jenkins-bot
2013-04-30 18:35:59 +00:00
committed by Gerrit Code Review

View File

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