2015-05-25 20:25:40 +00:00
|
|
|
{
|
|
|
|
"@doc": "Please read README.md",
|
|
|
|
"name": "ConfirmEdit",
|
|
|
|
"version": "1.4.0",
|
|
|
|
"author": [
|
|
|
|
"Brion Vibber",
|
2015-12-06 13:20:24 +00:00
|
|
|
"Florian Schmidt",
|
|
|
|
"Sam Reed",
|
2015-05-25 20:25:40 +00:00
|
|
|
"..."
|
|
|
|
],
|
|
|
|
"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",
|
2016-04-25 20:58:18 +00:00
|
|
|
"CaptchaHashStore": "includes/CaptchaStore.php",
|
|
|
|
"CaptchaSpecialPage": "includes/specials/SpecialCaptcha.php",
|
|
|
|
"CaptchaPreAuthenticationProvider": "includes/auth/CaptchaPreAuthenticationProvider.php",
|
|
|
|
"CaptchaAuthenticationRequest": "includes/auth/CaptchaAuthenticationRequest.php"
|
2015-05-25 20:25:40 +00:00
|
|
|
},
|
2016-04-25 20:58:18 +00:00
|
|
|
"callback": "ConfirmEditHooks::onRegistration",
|
2016-03-12 21:35:42 +00:00
|
|
|
"ResourceModules": {
|
|
|
|
"ext.confirmEdit.editPreview.ipwhitelist.styles": {
|
|
|
|
"position": "top",
|
|
|
|
"styles": "ext.confirmEdit.editPreview.ipwhitelist.styles.css"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"ResourceFileModulePaths": {
|
|
|
|
"localBasePath": "resources",
|
|
|
|
"remoteExtPath": "ConfirmEdit/resources"
|
|
|
|
},
|
2015-05-25 20:25:40 +00:00
|
|
|
"Hooks": {
|
2016-08-18 18:10:59 +00:00
|
|
|
"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",
|
2016-03-12 21:35:42 +00:00
|
|
|
"TitleReadWhitelist": "ConfirmEditHooks::onTitleReadWhitelist",
|
|
|
|
"AlternateEditPreview": "ConfirmEditHooks::onAlternateEditPreview"
|
2015-05-25 20:25:40 +00:00
|
|
|
},
|
|
|
|
"config": {
|
|
|
|
"_prefix": "",
|
|
|
|
"wgCaptchaWhitelistIP": false,
|
|
|
|
"wgCaptcha": null,
|
|
|
|
"wgCaptchaClass": "SimpleCaptcha",
|
|
|
|
"wgCaptchaTriggers": {
|
|
|
|
"edit": false,
|
|
|
|
"create": false,
|
|
|
|
"sendemail": false,
|
|
|
|
"addurl": true,
|
|
|
|
"createaccount": true,
|
|
|
|
"badlogin": true,
|
2016-02-29 01:26:17 +00:00
|
|
|
"badloginperuser": true,
|
2015-05-25 20:25:40 +00:00
|
|
|
"_merge_strategy": "array_plus"
|
|
|
|
},
|
2016-08-25 20:12:30 +00:00
|
|
|
"wgCaptchaTriggersOnNamespace": {
|
|
|
|
"_merge_strategy": "array_plus_2d"
|
|
|
|
},
|
2015-05-25 20:25:40 +00:00
|
|
|
"wgCaptchaStorageClass": "CaptchaSessionStore",
|
|
|
|
"wgCaptchaSessionExpiration": 1800,
|
|
|
|
"wgCaptchaBadLoginExpiration": 300,
|
2016-02-29 01:26:17 +00:00
|
|
|
"wgCaptchaBadLoginPerUserExpiration": 600,
|
2015-05-25 20:25:40 +00:00
|
|
|
"ceAllowConfirmedEmail": false,
|
|
|
|
"wgCaptchaBadLoginAttempts": 3,
|
2016-02-29 01:26:17 +00:00
|
|
|
"wgCaptchaBadLoginPerUserAttempts": 20,
|
2015-05-25 20:25:40 +00:00
|
|
|
"wgCaptchaWhitelist": false,
|
|
|
|
"wgCaptchaRegexes": []
|
|
|
|
},
|
|
|
|
"manifest_version": 1
|
|
|
|
}
|