diff --git a/resources/js/ext.uls.compactlinks.js b/resources/js/ext.uls.compactlinks.js index c10e5f26..00be68b0 100644 --- a/resources/js/ext.uls.compactlinks.js +++ b/resources/js/ext.uls.compactlinks.js @@ -316,23 +316,6 @@ return this.interlanguageList; }; - /** - * Get common languages - the most probable languages predicted by ULS. - * - * @param {string[]} languages Language codes - * @return {string[]} List of all common language codes - */ - CompactInterlanguageList.prototype.getCommonLanguages = function ( languages ) { - if ( this.commonInterlanguageList === null ) { - this.commonInterlanguageList = mw.uls.getFrequentLanguageList() - .filter( function ( language ) { - return languages.indexOf( language ) >= 0; - } ); - } - - return this.commonInterlanguageList; - }; - /** * Hide languages in the interlanguage list. *