Umherirrender has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/372074 )
Change subject: Add missing qqq message documentation ...................................................................... Add missing qqq message documentation Activate banana checker Change-Id: I5d90de07952aea41c9a32a23fcae9ee52f9e4d39 --- M Gruntfile.js M i18n/qqq.json M package.json 3 files changed, 31 insertions(+), 5 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/SpamRegex refs/changes/74/372074/1 diff --git a/Gruntfile.js b/Gruntfile.js index 237b9d7..76ffb3a 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -2,7 +2,7 @@ module.exports = function ( grunt ) { grunt.loadNpmTasks( 'grunt-jsonlint' ); grunt.loadNpmTasks( 'grunt-contrib-jshint' ); - // grunt.loadNpmTasks( 'grunt-banana-checker' ); + grunt.loadNpmTasks( 'grunt-banana-checker' ); grunt.initConfig( { jshint: { @@ -19,11 +19,11 @@ '!node_modules/**' ] }, - /* banana: { + banana: { all: 'i18n/' - } */ + } } ); - grunt.registerTask( 'test', [ 'jshint', 'jsonlint' /* 'banana' */ ] ); + grunt.registerTask( 'test', [ 'jshint', 'jsonlint', 'banana' ] ); grunt.registerTask( 'default', 'test' ); }; diff --git a/i18n/qqq.json b/i18n/qqq.json index 3169f4a..d9ec23e 100644 --- a/i18n/qqq.json +++ b/i18n/qqq.json @@ -7,10 +7,35 @@ "The Evil IP address" ] }, - "spamregex-desc": "{{desc}}", + "spamregex": "{{name}}", + "spamregex-desc": "{{desc|name=SpamRegex|url=https://www.mediawiki.org/wiki/Extension:SpamRegex}}", + "spamregex-error-unblocking": "Used as text on Special:SpamRegex", + "spamregex-summary": "Used as summary on Special:SpamRegex", + "spamregex-intro": "Used as intro on Special:SpamRegex", + "spamregex-page-title": "Used as page title on Special:SpamRegex", + "spamregex-currently-blocked": "Used as header for a list", + "spamregex-move": "Currently unused", + "spamregex-no-currently-blocked": "Used as hint for a empty list", "spamregex-log": "Parameters:\n* $1 is spam text\n* $2 is a description\n* $3 is an unblock link\n* $4 is the IP address to be unblocked\n* $5 is a username\n* $6 is a date\n* $7 is a time", + "spamregex-page-title-1": "Used as page title on Special:SpamRegexList", + "spamregex-unblock-success": "Used as sub title on Special:SpamRegexList", + "spamregex-unblock-message": "Used as text on Special:SpamRegexList", + "spamregex-page-title-2": "Used as page title on form for blocking phrases", + "spamregex-block-success": "Used as sub title on form for blocking phrases", + "spamregex-block-message": "Used as text on form for blocking phrases", + "spamregex-warning-1": "Used as error message", + "spamregex-error-1": "Used as error message", + "spamregex-warning-2": "Used as error message", "spamregex-already-blocked": "{{Identical|$1 is already blocked}}", + "spamregex-phrase-block": "Used as table header on Special:SpamRegex", + "spamregex-reason": "Used as table header on Special:SpamRegex", + "spamregex-error-no-reason": "Used as error message", + "spamregex-phrase-block-text": "Used as label on Special:SpamRegex", + "spamregex-phrase-block-summary": "Used as label on Special:SpamRegex", + "spamregex-block-submit": "Used as text for submit button on Special:SpamRegex", "spamregex-text": "{{Identical|Text}}", + "spamregex-text-and-summary-log": "{{Identical|Text}}{{Identical|Summary}}", "spamregex-summary-log": "{{Identical|Summary}}", + "action-spamregex": "{{doc-action|spamregex}}", "right-spamregex": "{{doc-right|spamregex}}" } diff --git a/package.json b/package.json index 4108670..361cbb7 100644 --- a/package.json +++ b/package.json @@ -5,6 +5,7 @@ }, "devDependencies": { "grunt": "1.0.1", + "grunt-banana-checker": "0.6.0", "grunt-contrib-jshint": "1.1.0", "grunt-jsonlint": "1.1.0" } -- To view, visit https://gerrit.wikimedia.org/r/372074 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I5d90de07952aea41c9a32a23fcae9ee52f9e4d39 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/SpamRegex Gerrit-Branch: master Gerrit-Owner: Umherirrender <umherirrender_de...@web.de> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits