2015-05-25 20:25:40 +00:00
|
|
|
{
|
|
|
|
"@doc": "Please read README.md",
|
|
|
|
"name": "ConfirmEdit",
|
2018-06-15 21:08:14 +00:00
|
|
|
"version": "1.6.0",
|
2015-05-25 20:25:40 +00:00
|
|
|
"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",
|
2018-01-04 10:57:05 +00:00
|
|
|
"license-name": "GPL-2.0-or-later",
|
2015-05-25 20:25:40 +00:00
|
|
|
"type": "antispam",
|
2017-02-20 18:17:24 +00:00
|
|
|
"requires": {
|
2018-06-15 22:58:02 +00:00
|
|
|
"MediaWiki": ">= 1.31.0"
|
2017-02-17 13:09:34 +00:00
|
|
|
},
|
2015-05-25 20:25:40 +00:00
|
|
|
"GroupPermissions": {
|
|
|
|
"*": {
|
|
|
|
"skipcaptcha": false
|
|
|
|
},
|
|
|
|
"user": {
|
|
|
|
"skipcaptcha": false
|
|
|
|
},
|
|
|
|
"autoconfirmed": {
|
|
|
|
"skipcaptcha": false
|
|
|
|
},
|
|
|
|
"bot": {
|
|
|
|
"skipcaptcha": true
|
|
|
|
},
|
|
|
|
"sysop": {
|
|
|
|
"skipcaptcha": true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"AvailableRights": [
|
|
|
|
"skipcaptcha"
|
|
|
|
],
|
|
|
|
"ExtensionFunctions": [
|
|
|
|
"ConfirmEditHooks::confirmEditSetup"
|
|
|
|
],
|
|
|
|
"SpecialPages": {
|
2018-06-15 21:08:14 +00:00
|
|
|
"Captcha": "SpecialCaptcha"
|
2015-05-25 20:25:40 +00:00
|
|
|
},
|
|
|
|
"MessagesDirs": {
|
|
|
|
"ConfirmEdit": [
|
|
|
|
"i18n"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"ExtensionMessagesFiles": {
|
|
|
|
"ConfirmEditAlias": "ConfirmEdit.alias.php"
|
|
|
|
},
|
|
|
|
"AutoloadClasses": {
|
|
|
|
"ConfirmEditHooks": "includes/ConfirmEditHooks.php",
|
2018-06-15 21:08:14 +00:00
|
|
|
"HTMLFancyCaptchaField": "FancyCaptcha/includes/HTMLFancyCaptchaField.php",
|
|
|
|
"HTMLReCaptchaField": "ReCaptcha/includes/HTMLReCaptchaField.php",
|
|
|
|
"HTMLReCaptchaNoCaptchaField": "ReCaptchaNoCaptcha/includes/HTMLReCaptchaNoCaptchaField.php",
|
|
|
|
"HTMLSubmittedValueField": "ReCaptcha/includes/HTMLSubmittedValueField.php",
|
|
|
|
"SimpleCaptcha": "SimpleCaptcha/SimpleCaptcha.php",
|
2017-12-16 12:32:46 +00:00
|
|
|
"CaptchaStore": "includes/store/CaptchaStore.php",
|
|
|
|
"CaptchaSessionStore": "includes/store/CaptchaSessionStore.php",
|
|
|
|
"CaptchaCacheStore": "includes/store/CaptchaCacheStore.php",
|
|
|
|
"CaptchaHashStore": "includes/store/CaptchaHashStore.php",
|
2017-08-14 15:39:20 +00:00
|
|
|
"CaptchaTriggers": "includes/CaptchaTriggers.php",
|
2018-06-15 21:08:14 +00:00
|
|
|
"SpecialCaptcha": "includes/specials/SpecialCaptcha.php",
|
2016-04-25 20:58:18 +00:00
|
|
|
"CaptchaPreAuthenticationProvider": "includes/auth/CaptchaPreAuthenticationProvider.php",
|
2018-06-15 21:08:14 +00:00
|
|
|
"CaptchaAuthenticationRequest": "includes/auth/CaptchaAuthenticationRequest.php",
|
|
|
|
"ReCaptchaAuthenticationRequest": "ReCaptcha/includes/ReCaptchaAuthenticationRequest.php",
|
|
|
|
"ReCaptchaNoCaptchaAuthenticationRequest": "ReCaptchaNoCaptcha/includes/ReCaptchaNoCaptchaAuthenticationRequest.php"
|
2015-05-25 20:25:40 +00:00
|
|
|
},
|
2016-03-12 21:35:42 +00:00
|
|
|
"ResourceModules": {
|
|
|
|
"ext.confirmEdit.editPreview.ipwhitelist.styles": {
|
|
|
|
"styles": "ext.confirmEdit.editPreview.ipwhitelist.styles.css"
|
2018-11-23 17:22:13 +00:00
|
|
|
},
|
|
|
|
"ext.confirmEdit.visualEditor": {
|
2018-11-29 16:51:27 +00:00
|
|
|
"scripts": "ve-confirmedit/ve.init.mw.CaptchaSaveErrorHandler.js"
|
2016-03-12 21:35:42 +00:00
|
|
|
}
|
|
|
|
},
|
2018-11-23 17:22:13 +00:00
|
|
|
"VisualEditorPluginModules": [
|
|
|
|
"ext.confirmEdit.visualEditor"
|
|
|
|
],
|
2016-03-12 21:35:42 +00:00
|
|
|
"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",
|
2018-06-15 21:08:14 +00:00
|
|
|
"APIGetAllowedParams": "ConfirmEditHooks::onAPIGetAllowedParams",
|
2016-03-12 21:35:42 +00:00
|
|
|
"TitleReadWhitelist": "ConfirmEditHooks::onTitleReadWhitelist",
|
2017-02-17 13:09:34 +00:00
|
|
|
"AlternateEditPreview": "ConfirmEditHooks::onAlternateEditPreview",
|
|
|
|
"AuthChangeFormFields": "ConfirmEditHooks::onAuthChangeFormFields"
|
|
|
|
},
|
|
|
|
"AuthManagerAutoConfig": {
|
|
|
|
"preauth": {
|
|
|
|
"CaptchaPreAuthenticationProvider":{
|
|
|
|
"class": "CaptchaPreAuthenticationProvider",
|
|
|
|
"sort": 10
|
|
|
|
}
|
|
|
|
}
|
2015-05-25 20:25:40 +00:00
|
|
|
},
|
|
|
|
"config": {
|
2017-04-14 14:15:58 +00:00
|
|
|
"CaptchaWhitelistIP": false,
|
|
|
|
"Captcha": null,
|
|
|
|
"CaptchaTriggers": {
|
2015-05-25 20:25:40 +00:00
|
|
|
"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"
|
|
|
|
},
|
2017-04-14 14:15:58 +00:00
|
|
|
"CaptchaTriggersOnNamespace": {
|
2016-08-25 20:12:30 +00:00
|
|
|
"_merge_strategy": "array_plus_2d"
|
|
|
|
},
|
2017-04-14 14:15:58 +00:00
|
|
|
"CaptchaStorageClass": "CaptchaSessionStore",
|
|
|
|
"CaptchaSessionExpiration": 1800,
|
|
|
|
"CaptchaBadLoginExpiration": 300,
|
|
|
|
"CaptchaBadLoginPerUserExpiration": 600,
|
|
|
|
"AllowConfirmedEmail": false,
|
|
|
|
"CaptchaBadLoginAttempts": 3,
|
|
|
|
"CaptchaBadLoginPerUserAttempts": 20,
|
|
|
|
"CaptchaWhitelist": false,
|
|
|
|
"CaptchaRegexes": []
|
2015-05-25 20:25:40 +00:00
|
|
|
},
|
|
|
|
"manifest_version": 1
|
|
|
|
}
|