mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ConfirmEdit
synced 2024-12-18 02:41:01 +00:00
d0adbc8f0f
Local administrators can now use [[MediaWiki:Captcha-ip-whitelist]] page to exempt specific IP addresses and IP ranges from captchas. This is useful for modifying in a short notice such as editathons and other events like this where captchas add unnecessary complexity for new users. The page is disabled by default and IPs should be added separated by newlines. If any other character is found on a line, it will be ignored but leading and trailing whitespace characters are allowed. Bug: T103122 Change-Id: I54866b5bfca80debcf3d3fb7963932ed03b48548
138 lines
3.1 KiB
JSON
138 lines
3.1 KiB
JSON
{
|
|
"@doc": "Please read README.md",
|
|
"name": "ConfirmEdit",
|
|
"version": "1.4.0",
|
|
"author": [
|
|
"Brion Vibber",
|
|
"Florian Schmidt",
|
|
"Sam Reed",
|
|
"..."
|
|
],
|
|
"url": "https://www.mediawiki.org/wiki/Extension:ConfirmEdit",
|
|
"descriptionmsg": "captcha-desc",
|
|
"license-name": "GPL-2.0+",
|
|
"type": "antispam",
|
|
"GroupPermissions": {
|
|
"*": {
|
|
"skipcaptcha": false
|
|
},
|
|
"user": {
|
|
"skipcaptcha": false
|
|
},
|
|
"autoconfirmed": {
|
|
"skipcaptcha": false
|
|
},
|
|
"bot": {
|
|
"skipcaptcha": true
|
|
},
|
|
"sysop": {
|
|
"skipcaptcha": true
|
|
}
|
|
},
|
|
"AvailableRights": [
|
|
"skipcaptcha"
|
|
],
|
|
"ExtensionFunctions": [
|
|
"ConfirmEditHooks::confirmEditSetup"
|
|
],
|
|
"SpecialPages": {
|
|
"Captcha": "CaptchaSpecialPage"
|
|
},
|
|
"MessagesDirs": {
|
|
"ConfirmEdit": [
|
|
"i18n"
|
|
]
|
|
},
|
|
"ExtensionMessagesFiles": {
|
|
"ConfirmEditAlias": "ConfirmEdit.alias.php"
|
|
},
|
|
"AutoloadClasses": {
|
|
"ConfirmEditHooks": "includes/ConfirmEditHooks.php",
|
|
"SimpleCaptcha": "SimpleCaptcha/Captcha.php",
|
|
"CaptchaStore": "includes/CaptchaStore.php",
|
|
"CaptchaSessionStore": "includes/CaptchaStore.php",
|
|
"CaptchaCacheStore": "includes/CaptchaStore.php",
|
|
"CaptchaSpecialPage": "includes/specials/SpecialCaptcha.php"
|
|
},
|
|
"Hooks": {
|
|
"EditPageBeforeEditButtons": [
|
|
"ConfirmEditHooks::confirmEditPage"
|
|
],
|
|
"UserCreateForm": [
|
|
"ConfirmEditHooks::injectUserCreate"
|
|
],
|
|
"AbortNewAccount": [
|
|
"ConfirmEditHooks::confirmUserCreate"
|
|
],
|
|
"LoginAuthenticateAudit": [
|
|
"ConfirmEditHooks::triggerUserLogin"
|
|
],
|
|
"UserLoginForm": [
|
|
"ConfirmEditHooks::injectUserLogin"
|
|
],
|
|
"AbortLogin": [
|
|
"ConfirmEditHooks::confirmUserLogin"
|
|
],
|
|
"EmailUserForm": [
|
|
"ConfirmEditHooks::injectEmailUser"
|
|
],
|
|
"EmailUser": [
|
|
"ConfirmEditHooks::confirmEmailUser"
|
|
],
|
|
"PageContentSaveComplete": [
|
|
"ConfirmEditHooks::onPageContentSaveComplete"
|
|
],
|
|
"EditPage::showEditForm:fields": [
|
|
"ConfirmEditHooks::showEditFormFields"
|
|
],
|
|
"EditFilterMergedContent": [
|
|
"ConfirmEditHooks::confirmEditMerged"
|
|
],
|
|
"APIGetAllowedParams": [
|
|
"ConfirmEditHooks::APIGetAllowedParams"
|
|
],
|
|
"APIGetParamDescription": [
|
|
"ConfirmEditHooks::APIGetParamDescription"
|
|
],
|
|
"AddNewAccountApiForm": [
|
|
"ConfirmEditHooks::addNewAccountApiForm"
|
|
],
|
|
"AddNewAccountApiResult": [
|
|
"ConfirmEditHooks::addNewAccountApiResult"
|
|
],
|
|
"APIEditBeforeSave": [
|
|
"ConfirmEditHooks::confirmEditAPI"
|
|
],
|
|
"UnitTestsList": [
|
|
"ConfirmEditHooks::onUnitTestsList"
|
|
]
|
|
},
|
|
"config": {
|
|
"_prefix": "",
|
|
"wgCaptchaWhitelistIP": false,
|
|
"wgCaptcha": null,
|
|
"wgCaptchaClass": "SimpleCaptcha",
|
|
"wgCaptchaTriggers": {
|
|
"edit": false,
|
|
"create": false,
|
|
"sendemail": false,
|
|
"addurl": true,
|
|
"createaccount": true,
|
|
"badlogin": true,
|
|
"badloginperuser": true,
|
|
"_merge_strategy": "array_plus"
|
|
},
|
|
"wgCaptchaTriggersOnNamespace": [],
|
|
"wgCaptchaStorageClass": "CaptchaSessionStore",
|
|
"wgCaptchaSessionExpiration": 1800,
|
|
"wgCaptchaBadLoginExpiration": 300,
|
|
"wgCaptchaBadLoginPerUserExpiration": 600,
|
|
"ceAllowConfirmedEmail": false,
|
|
"wgCaptchaBadLoginAttempts": 3,
|
|
"wgCaptchaBadLoginPerUserAttempts": 20,
|
|
"wgCaptchaWhitelist": false,
|
|
"wgCaptchaRegexes": []
|
|
},
|
|
"manifest_version": 1
|
|
}
|