mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ConfirmEdit
synced 2024-11-24 00:04:15 +00:00
10b9276855
Why: - We want to allow administrators to invoke a CAPTCHA if an AbuseFilter is configured to do so. What: - Implement the AbuseFilterCustomActions hook and define CaptchaConsequence, which will inform AbuseFilter's implementation of onConfirmEditTriggersCaptcha that it should show a CAPTCHA - Deliberately do not register the "showcaptcha" action as a "dangerous action", because filters that use this action are aimed at bot traffic, and we don't want a bot to be able to get past the "showcaptcha" action just by making repeat requests Soft depends on I110a5f5321649dcf85993a0c209ab70b9886057c Bug: T20110 Change-Id: Ie87e3d850541c7dc44aaeb6b30489a32a0c8cc60
53 lines
4.3 KiB
JSON
53 lines
4.3 KiB
JSON
{
|
|
"@metadata": {
|
|
"authors": [
|
|
"Amire80",
|
|
"Aotake",
|
|
"Hamilton Abreu",
|
|
"Liuxinyu970226",
|
|
"MF-Warburg",
|
|
"Meithal",
|
|
"Meno25",
|
|
"MuratTheTurkish",
|
|
"Purodha",
|
|
"Raymond",
|
|
"Shirayuki",
|
|
"Siebrand",
|
|
"The Evil IP address",
|
|
"Toliño",
|
|
"Umherirrender"
|
|
]
|
|
},
|
|
"captcha-edit": "This message will be shown when editing if the wiki requires solving a captcha for editing.\n{{Related|ConfirmEdit-edit}}",
|
|
"captcha-edit-fail": "Used as failure message.\n\nSee also:\n* {{msg-mw|Captcha-createaccount-fail}}\n* {{msg-mw|Captcha-sendemail-fail}}",
|
|
"captcha-desc": "{{desc|name=Confirm Edit|url=https://www.mediawiki.org/wiki/Extension:ConfirmEdit}}",
|
|
"captcha-label": "{{optional}}\nLabel field for input field shown in forms.",
|
|
"captcha-help": "API help text for the input field.",
|
|
"captcha-info-help": "API help text for the description.",
|
|
"captcha-id-label": "Label for the CAPTCHA id (only shown in the API).",
|
|
"captcha-id-help": "API help text for the CAPTCHA id.",
|
|
"captcha-ip-whitelist": "{{Notranslate}} This message is used for storing a list of IP addresses and IP address ranges whitelisted from CAPTCHA on the wiki. New entries should be separated by newlines and the line should contain only a valid IP address or IP address range. Leading and trailing whitespace is allowed but if there is any other character, that line will be ignored.",
|
|
"captcha-addurl": "The explanation of CAPTCHA shown to users trying to add new external links.\n{{Related|ConfirmEdit-addurl}}",
|
|
"captcha-badlogin": "The explanation of CAPTCHA shown to users failed three times to type in correct password.\n{{Related|ConfirmEdit-badlogin}}",
|
|
"captcha-createaccount": "The explanation of CAPTCHA shown to users trying to create a new account.\n{{Related|ConfirmEdit-createaccount}}",
|
|
"captcha-createaccount-fail": "Used as failure message.\n{{Related|ConfirmEdit-createaccount-fail}}",
|
|
"captcha-create": "This message will be shown when creating a page if the wiki requires solving a captcha for that.\n{{Related|ConfirmEdit-create}}",
|
|
"captcha-sendemail": "Used as footer text.\n{{Related|ConfirmEdit-sendemail}}",
|
|
"captcha-sendemail-fail": "Used as failure message.\n\nSee also:\n* {{msg-mw|Captcha-createaccount-fail}}",
|
|
"captcha-disabledinapi": "Used as error message when in the API mode.",
|
|
"captcha-error": "Error message shown when a CAPTCHA check failed for reasons the user cannot do anything about (e.g. the server could not contact the captcha provider). $1 is the error message.",
|
|
"captchahelp-title": "The page title of [[Special:Captcha/help]]",
|
|
"captchahelp-cookies-needed": "The page title for this message is {{msg-mw|Captchahelp-title}}.\n\nThis message follows the following help message:\n* {{msg-mw|Captchahelp-text}}.",
|
|
"captchahelp-text": "This is the help text shown on [[Special:Captcha/help]].",
|
|
"captcha-addurl-whitelist": "See also: [[MediaWiki:Spam-blacklist]] and [[MediaWiki:Spam-whitelist]].\n\nLeave all the wiki markup, including the spaces, as is.\nYou can translate the text, including 'Leave this line exactly as it is'.\nThe first line of this messages has one (1) leading space.\n\n\"regex\" stands for \"regular expression\".",
|
|
"right-skipcaptcha": "{{doc-right|skipcaptcha}}",
|
|
"action-skipcaptcha": "{{doc-action|skipcaptcha}}",
|
|
"confirmedit-preview-line": "Used as a table heading for the edit preview of [[MediaWiki:Captcha-ip-whitelist]] to indicate the line number (1, 2, 3, ...).",
|
|
"confirmedit-preview-content": "Used as a table heading for the edit preview of [[MediaWiki:Captcha-ip-whitelist]] to indicate the content of a line.\n{{Identical|Content}}",
|
|
"confirmedit-preview-validity": "Used as a table heading for the edit preview of [[MediaWiki:Captcha-ip-whitelist]] to indicate the validity of a content of a line (if it's an IP address or not).\n{{Identical|Validity}}",
|
|
"confirmedit-preview-valid": "Used to indicate a valid IP address in the edit preview of [[MediaWiki:Captcha-ip-whitelist]].\n{{Identical|Valid}}",
|
|
"confirmedit-preview-invalid": "Used to indicate an invalid IP address in the edit preview of [[MediaWiki:Captcha-ip-whitelist]].\n{{Identical|Invalid}}",
|
|
"confirmedit-preview-description": "Explains the edit preview of [[MediaWiki:Captcha-ip-whitelist]].",
|
|
"abusefilter-edit-action-showcaptcha": "Label shown in [[Special:AbuseFilter]] for the show CAPTCHA consequence."
|
|
}
|