mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ConfirmEdit
synced 2024-12-20 20:02:43 +00:00
12490340ff
Change-Id: I83ae3dc8a2bd1d9e4655eba1d8da5e5974930357
198 lines
5.7 KiB
JSON
198 lines
5.7 KiB
JSON
{
|
|
"@doc": "Please read README.md",
|
|
"name": "ConfirmEdit",
|
|
"version": "1.6.0",
|
|
"author": [
|
|
"Brion Vibber",
|
|
"Florian Schmidt",
|
|
"Sam Reed",
|
|
"..."
|
|
],
|
|
"url": "https://www.mediawiki.org/wiki/Extension:ConfirmEdit",
|
|
"descriptionmsg": "captcha-desc",
|
|
"license-name": "GPL-2.0-or-later",
|
|
"type": "antispam",
|
|
"requires": {
|
|
"MediaWiki": ">= 1.43"
|
|
},
|
|
"GroupPermissions": {
|
|
"*": {
|
|
"skipcaptcha": false
|
|
},
|
|
"user": {
|
|
"skipcaptcha": false
|
|
},
|
|
"autoconfirmed": {
|
|
"skipcaptcha": false
|
|
},
|
|
"bot": {
|
|
"skipcaptcha": true
|
|
},
|
|
"sysop": {
|
|
"skipcaptcha": true
|
|
}
|
|
},
|
|
"AvailableRights": [
|
|
"skipcaptcha"
|
|
],
|
|
"GrantPermissions": {
|
|
"basic": {
|
|
"skipcaptcha": true
|
|
}
|
|
},
|
|
"ExtensionFunctions": [
|
|
"MediaWiki\\Extension\\ConfirmEdit\\Hooks::confirmEditSetup"
|
|
],
|
|
"SpecialPages": {
|
|
"Captcha": "MediaWiki\\Extension\\ConfirmEdit\\Specials\\SpecialCaptcha"
|
|
},
|
|
"MessagesDirs": {
|
|
"ConfirmEdit": [
|
|
"i18n",
|
|
"i18n/api"
|
|
]
|
|
},
|
|
"ExtensionMessagesFiles": {
|
|
"ConfirmEditAlias": "ConfirmEdit.alias.php"
|
|
},
|
|
"AutoloadNamespaces": {
|
|
"MediaWiki\\Extension\\ConfirmEdit\\": "includes/"
|
|
},
|
|
"ResourceModules": {
|
|
"ext.confirmEdit.editPreview.ipwhitelist.styles": {
|
|
"styles": "ext.confirmEdit.editPreview.ipwhitelist.styles.css"
|
|
},
|
|
"ext.confirmEdit.visualEditor": {
|
|
"scripts": "ve-confirmedit/ve.init.mw.CaptchaSaveErrorHandler.js",
|
|
"dependencies": "ext.confirmEdit.CaptchaInputWidget"
|
|
},
|
|
"ext.confirmEdit.simpleCaptcha": {
|
|
"styles": "ext.confirmEdit.simpleCaptcha.css"
|
|
}
|
|
},
|
|
"attributes": {
|
|
"VisualEditor": {
|
|
"PluginModules": [
|
|
"ext.confirmEdit.visualEditor"
|
|
]
|
|
}
|
|
},
|
|
"ResourceFileModulePaths": {
|
|
"localBasePath": "resources",
|
|
"remoteExtPath": "ConfirmEdit/resources"
|
|
},
|
|
"HookHandlers": {
|
|
"ConfirmEditHooks": {
|
|
"class": "MediaWiki\\Extension\\ConfirmEdit\\Hooks",
|
|
"services": [
|
|
"MainWANObjectCache"
|
|
]
|
|
},
|
|
"AbuseFilterHooks": {
|
|
"class": "MediaWiki\\Extension\\ConfirmEdit\\AbuseFilterHooks",
|
|
"services": [
|
|
"MainConfig"
|
|
]
|
|
}
|
|
},
|
|
"Hooks": {
|
|
"EditPageBeforeEditButtons": "ConfirmEditHooks",
|
|
"EmailUserForm": "ConfirmEditHooks",
|
|
"EmailUser": "ConfirmEditHooks",
|
|
"PageSaveComplete": "ConfirmEditHooks",
|
|
"TitleReadWhitelist": "ConfirmEditHooks",
|
|
"AlternateEditPreview": "ConfirmEditHooks",
|
|
"ResourceLoaderRegisterModules": "ConfirmEditHooks",
|
|
"EditPage::showEditForm:fields": "ConfirmEditHooks",
|
|
"EditFilterMergedContent": "ConfirmEditHooks",
|
|
"APIGetAllowedParams": "ConfirmEditHooks",
|
|
"AuthChangeFormFields": "ConfirmEditHooks",
|
|
"AbuseFilterCustomActions": "AbuseFilterHooks"
|
|
},
|
|
"AuthManagerAutoConfig": {
|
|
"preauth": {
|
|
"CaptchaPreAuthenticationProvider": {
|
|
"class": "MediaWiki\\Extension\\ConfirmEdit\\Auth\\CaptchaPreAuthenticationProvider",
|
|
"sort": 10
|
|
}
|
|
}
|
|
},
|
|
"config": {
|
|
"CaptchaWhitelistIP": {
|
|
"description": "DEPRECATED! Use CaptchaBypassIPs",
|
|
"value": false
|
|
},
|
|
"CaptchaBypassIPs": {
|
|
"description": "A list of IP addresses that can skip the captcha",
|
|
"value": false
|
|
},
|
|
"Captcha": {
|
|
"description": "Captcha class to be used; when enabling sub extensions (ie FancyCaptcha) this will be set for you",
|
|
"value": null
|
|
},
|
|
"CaptchaTriggers": {
|
|
"description": "Actions which can trigger a captcha",
|
|
"value": {
|
|
"edit": false,
|
|
"create": false,
|
|
"sendemail": false,
|
|
"addurl": true,
|
|
"createaccount": true,
|
|
"badlogin": true,
|
|
"badloginperuser": true
|
|
},
|
|
"merge_strategy": "array_plus"
|
|
},
|
|
"CaptchaTriggersOnNamespace": {
|
|
"description": "Allows forcing/turning off Captcha in specific namespaces",
|
|
"value": {},
|
|
"merge_strategy": "array_plus_2d"
|
|
},
|
|
"CaptchaStorageClass": {
|
|
"description": "PHP class used for storing Captcha related session data",
|
|
"value": "MediaWiki\\Extension\\ConfirmEdit\\Store\\CaptchaSessionStore"
|
|
},
|
|
"CaptchaSessionExpiration": {
|
|
"description": "Number of seconds a captcha session should last in the data cache before expiring when managing through CaptchaCacheStore class.",
|
|
"value": 1800
|
|
},
|
|
"CaptchaBadLoginExpiration": {
|
|
"description": "Number of seconds after a bad login (from a specific IP address) that a captcha will be shown to that client on the login form to slow down password-guessing bots.",
|
|
"value": 300
|
|
},
|
|
"CaptchaBadLoginPerUserExpiration": {
|
|
"description": "Number of seconds after a bad login (for a specific user account) that a captcha will be shown to that client on the login form to slow down password-guessing bots.",
|
|
"value": 600
|
|
},
|
|
"AllowConfirmedEmail": {
|
|
"description": "Allow users who have confirmed their email addresses to post URL links without being shown a captcha.",
|
|
"value": false
|
|
},
|
|
"CaptchaBadLoginAttempts": {
|
|
"description": "Number of bad login attempts (from a specific IP address) before triggering the captcha. 0 means the captcha is presented on the first login.",
|
|
"value": 3
|
|
},
|
|
"CaptchaBadLoginPerUserAttempts": {
|
|
"description": "Number of bad login attempts (for a specific user account) before triggering the captcha. 0 means the captcha is presented on the first login.",
|
|
"value": 20
|
|
},
|
|
"CaptchaWhitelist": {
|
|
"description": "DEPRECATED: Use CaptchaIgnoredUrls",
|
|
"value": false
|
|
},
|
|
"CaptchaIgnoredUrls": {
|
|
"description": "Urls that won't trigger a captcha",
|
|
"value": false
|
|
},
|
|
"CaptchaRegexes": {
|
|
"description": "Additional regexes to check for. Use full regexes; can match things other than URLs such as junk edits. If the new version matches one and the old version doesn't, show the captcha screen.",
|
|
"value": []
|
|
},
|
|
"ConfirmEditEnabledAbuseFilterCustomActions": {
|
|
"description": "Feature flag to toggle list of available custom actions to enable in AbuseFilter. See AbuseFilterHooks::onAbuseFilterCustomActions",
|
|
"value": []
|
|
}
|
|
},
|
|
"manifest_version": 2
|
|
}
|