mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ConfirmEdit
synced 2024-11-24 00:04:15 +00:00
31c59374a4
Also update MathCaptcha so that it works with recent versions of Math (and breaks with old ones). Also fix MathCaptcha API output, which used to send the question in plaintext. Bug: T110302 Change-Id: I0da671a546700110d789b79a3089460abd9cce3b Depends-On: I8b52ec8ddf494f23941807638f149f15b5e46b0c
121 lines
2.9 KiB
JSON
121 lines
2.9 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",
|
|
"CaptchaHashStore": "includes/CaptchaStore.php",
|
|
"CaptchaSpecialPage": "includes/specials/SpecialCaptcha.php",
|
|
"CaptchaPreAuthenticationProvider": "includes/auth/CaptchaPreAuthenticationProvider.php",
|
|
"CaptchaAuthenticationRequest": "includes/auth/CaptchaAuthenticationRequest.php"
|
|
},
|
|
"callback": "ConfirmEditHooks::onRegistration",
|
|
"Hooks": {
|
|
"EditPageBeforeEditButtons": [
|
|
"ConfirmEditHooks::confirmEditPage"
|
|
],
|
|
"EmailUserForm": [
|
|
"ConfirmEditHooks::injectEmailUser"
|
|
],
|
|
"EmailUser": [
|
|
"ConfirmEditHooks::confirmEmailUser"
|
|
],
|
|
"PageContentSaveComplete": [
|
|
"ConfirmEditHooks::onPageContentSaveComplete"
|
|
],
|
|
"EditPage::showEditForm:fields": [
|
|
"ConfirmEditHooks::showEditFormFields"
|
|
],
|
|
"EditFilterMergedContent": [
|
|
"ConfirmEditHooks::confirmEditMerged"
|
|
],
|
|
"APIGetAllowedParams": [
|
|
"ConfirmEditHooks::APIGetAllowedParams"
|
|
],
|
|
"APIGetParamDescription": [
|
|
"ConfirmEditHooks::APIGetParamDescription"
|
|
],
|
|
"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
|
|
}
|