Santhosh has uploaded a new change for review. https://gerrit.wikimedia.org/r/207394
Change subject: Fix JSCS errors ...................................................................... Fix JSCS errors Change-Id: I5b08fedffc453fe901bd2e174fa0523529568c37 --- M modules/entrypoint/ext.cx.contributions.js M modules/entrypoint/ext.cx.redlink.js M modules/eventlogging/ext.cx.eventlogging.js 3 files changed, 3 insertions(+), 4 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/ContentTranslation refs/changes/94/207394/1 diff --git a/modules/entrypoint/ext.cx.contributions.js b/modules/entrypoint/ext.cx.contributions.js index 52c6717..ff022df 100644 --- a/modules/entrypoint/ext.cx.contributions.js +++ b/modules/entrypoint/ext.cx.contributions.js @@ -78,7 +78,7 @@ campaign: entrypointName } ), tooltip: mw.msg( 'cx-contributions-translation-tooltip' ) - }, + } ]; }; diff --git a/modules/entrypoint/ext.cx.redlink.js b/modules/entrypoint/ext.cx.redlink.js index a165fc3..d2a652b 100644 --- a/modules/entrypoint/ext.cx.redlink.js +++ b/modules/entrypoint/ext.cx.redlink.js @@ -39,7 +39,7 @@ // with normalized counterparts specialCodes = { // Suggest both varieties of Norwegian when requesting macro Norwegian - 'no': [ 'nb', 'nn' ] + no: [ 'nb', 'nn' ] }; for ( specialCode in specialCodes ) { diff --git a/modules/eventlogging/ext.cx.eventlogging.js b/modules/eventlogging/ext.cx.eventlogging.js index 5accd61..056c08c 100644 --- a/modules/eventlogging/ext.cx.eventlogging.js +++ b/modules/eventlogging/ext.cx.eventlogging.js @@ -34,7 +34,6 @@ mw.hook( 'mw.cx.cta.reject' ).add( $.proxy( this.ctaReject, this ) ); }, - /** * Log creation of translated page. * @param {string} contentLanguage source language @@ -145,7 +144,7 @@ sourceLanguage: sourceLanguage, targetLanguage: targetLanguage, sourceTitle: sourceTitle, - targetTitle: targetTitle, + targetTitle: targetTitle } ); }, -- To view, visit https://gerrit.wikimedia.org/r/207394 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I5b08fedffc453fe901bd2e174fa0523529568c37 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/ContentTranslation Gerrit-Branch: master Gerrit-Owner: Santhosh <santhosh.thottin...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits