[MediaWiki-commits] [Gerrit] Misc typofixes - change (mediawiki...UniversalLanguageSelector)
Nemo bis has uploaded a new change for review. https://gerrit.wikimedia.org/r/132804 Change subject: Misc typofixes .. Misc typofixes Change-Id: I0da399382082ad0d197f48641050b6813e3bdc6e --- M resources/js/ext.uls.compactlinks.js 1 file changed, 6 insertions(+), 6 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/UniversalLanguageSelector refs/changes/04/132804/1 diff --git a/resources/js/ext.uls.compactlinks.js b/resources/js/ext.uls.compactlinks.js index a4e8f57..104a5d6 100644 --- a/resources/js/ext.uls.compactlinks.js +++ b/resources/js/ext.uls.compactlinks.js @@ -176,7 +176,7 @@ // Add previously selected languages. // Previous languages are always the better suggestion - // because user had explicitly chosen them. + // because the user has explicitly chosen them. compactLanguages = compactLanguages.concat( this.filterByPreviousLanguages() ); // Add all common languages to the beginning of array. @@ -184,13 +184,13 @@ compactLanguages = compactLanguages.concat( this.filterByCommonLanguages( languages ) ); // Finally add the whole languages array too. - // We will remove duplicate and cut down to required size. + // We will remove duplicates and cut down to required size. compactLanguages = compactLanguages.concat( languages ); // Remove duplicates compactLanguages = unique( compactLanguages ); - // Cut to compact size and sort + // Cut to compact size and sort compactLanguages = compactLanguages.slice( 0, this.compactSize ).sort(); return compactLanguages; @@ -200,7 +200,7 @@ * Filter the language list by previous languages. * Not all previous languages will be present in interlanguage links, * so we are filtering them. -* @return {Array} List of those language codes which are supported by article +* @return {Array} List of language codes supported by the article */ filterByPreviousLanguages: function ( languages ) { var previousLanguages = mw.uls.getPreviousLanguages(); @@ -213,7 +213,7 @@ /** * Filter the language list by common languages. * Common languages are the most probable languages predicted by ULS. -* @return {Array} List of those language codes which are supported by article +* @return {Array} List of language codes supported by the article */ filterByCommonLanguages: function ( languages ) { var commonLanguages = mw.uls.getFrequentLanguageList(); @@ -225,7 +225,7 @@ /** * Find out the existing languages supported -* by article and fetch their href. +* by the article and fetch their href. * @return {Object} List of existing language codes and their hrefs */ getInterlanguageList: function getInterlanguageList() { -- To view, visit https://gerrit.wikimedia.org/r/132804 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I0da399382082ad0d197f48641050b6813e3bdc6e Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/UniversalLanguageSelector Gerrit-Branch: master Gerrit-Owner: Nemo bis federicol...@tiscali.it ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
[MediaWiki-commits] [Gerrit] Misc typofixes - change (mediawiki...UniversalLanguageSelector)
jenkins-bot has submitted this change and it was merged. Change subject: Misc typofixes .. Misc typofixes Change-Id: I0da399382082ad0d197f48641050b6813e3bdc6e --- M resources/js/ext.uls.compactlinks.js 1 file changed, 6 insertions(+), 6 deletions(-) Approvals: KartikMistry: Looks good to me, approved jenkins-bot: Verified diff --git a/resources/js/ext.uls.compactlinks.js b/resources/js/ext.uls.compactlinks.js index a4e8f57..104a5d6 100644 --- a/resources/js/ext.uls.compactlinks.js +++ b/resources/js/ext.uls.compactlinks.js @@ -176,7 +176,7 @@ // Add previously selected languages. // Previous languages are always the better suggestion - // because user had explicitly chosen them. + // because the user has explicitly chosen them. compactLanguages = compactLanguages.concat( this.filterByPreviousLanguages() ); // Add all common languages to the beginning of array. @@ -184,13 +184,13 @@ compactLanguages = compactLanguages.concat( this.filterByCommonLanguages( languages ) ); // Finally add the whole languages array too. - // We will remove duplicate and cut down to required size. + // We will remove duplicates and cut down to required size. compactLanguages = compactLanguages.concat( languages ); // Remove duplicates compactLanguages = unique( compactLanguages ); - // Cut to compact size and sort + // Cut to compact size and sort compactLanguages = compactLanguages.slice( 0, this.compactSize ).sort(); return compactLanguages; @@ -200,7 +200,7 @@ * Filter the language list by previous languages. * Not all previous languages will be present in interlanguage links, * so we are filtering them. -* @return {Array} List of those language codes which are supported by article +* @return {Array} List of language codes supported by the article */ filterByPreviousLanguages: function ( languages ) { var previousLanguages = mw.uls.getPreviousLanguages(); @@ -213,7 +213,7 @@ /** * Filter the language list by common languages. * Common languages are the most probable languages predicted by ULS. -* @return {Array} List of those language codes which are supported by article +* @return {Array} List of language codes supported by the article */ filterByCommonLanguages: function ( languages ) { var commonLanguages = mw.uls.getFrequentLanguageList(); @@ -225,7 +225,7 @@ /** * Find out the existing languages supported -* by article and fetch their href. +* by the article and fetch their href. * @return {Object} List of existing language codes and their hrefs */ getInterlanguageList: function getInterlanguageList() { -- To view, visit https://gerrit.wikimedia.org/r/132804 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I0da399382082ad0d197f48641050b6813e3bdc6e Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/UniversalLanguageSelector Gerrit-Branch: master Gerrit-Owner: Nemo bis federicol...@tiscali.it Gerrit-Reviewer: KartikMistry kartik.mis...@gmail.com Gerrit-Reviewer: jenkins-bot ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits