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": {
|
2020-01-25 05:38:50 +00:00
|
|
|
"MediaWiki": ">= 1.35.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"
|
|
|
|
],
|
2020-03-21 20:49:38 +00:00
|
|
|
"GrantPermissions": {
|
|
|
|
"basic": {
|
|
|
|
"skipcaptcha": true
|
|
|
|
}
|
|
|
|
},
|
2015-05-25 20:25:40 +00:00
|
|
|
"ExtensionFunctions": [
|
|
|
|
"ConfirmEditHooks::confirmEditSetup"
|
|
|
|
],
|
|
|
|
"SpecialPages": {
|
2018-06-15 21:08:14 +00:00
|
|
|
"Captcha": "SpecialCaptcha"
|
2015-05-25 20:25:40 +00:00
|
|
|
},
|
|
|
|
"MessagesDirs": {
|
|
|
|
"ConfirmEdit": [
|
2019-08-31 19:49:57 +00:00
|
|
|
"i18n",
|
|
|
|
"i18n/api"
|
2015-05-25 20:25:40 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"ExtensionMessagesFiles": {
|
|
|
|
"ConfirmEditAlias": "ConfirmEdit.alias.php"
|
|
|
|
},
|
|
|
|
"AutoloadClasses": {
|
|
|
|
"ConfirmEditHooks": "includes/ConfirmEditHooks.php",
|
2018-06-15 21:08:14 +00:00
|
|
|
"HTMLFancyCaptchaField": "FancyCaptcha/includes/HTMLFancyCaptchaField.php",
|
|
|
|
"HTMLReCaptchaNoCaptchaField": "ReCaptchaNoCaptcha/includes/HTMLReCaptchaNoCaptchaField.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",
|
|
|
|
"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": {
|
2019-01-15 00:05:29 +00:00
|
|
|
"scripts": "ve-confirmedit/ve.init.mw.CaptchaSaveErrorHandler.js",
|
2020-04-15 11:32:58 +00:00
|
|
|
"dependencies": "ext.confirmEdit.CaptchaInputWidget",
|
2019-10-16 19:29:56 +00:00
|
|
|
"targets": [
|
|
|
|
"desktop",
|
|
|
|
"mobile"
|
|
|
|
]
|
2018-12-07 18:23:39 +00:00
|
|
|
},
|
|
|
|
"ext.confirmEdit.simpleCaptcha": {
|
|
|
|
"styles": "../SimpleCaptcha/resources/ext.confirmEdit.simpleCaptcha.css"
|
2016-03-12 21:35:42 +00:00
|
|
|
}
|
|
|
|
},
|
2019-10-16 19:29:56 +00:00
|
|
|
"attributes": {
|
|
|
|
"VisualEditor": {
|
|
|
|
"PluginModules": [
|
|
|
|
"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",
|
2020-04-15 11:32:58 +00:00
|
|
|
"AuthChangeFormFields": "ConfirmEditHooks::onAuthChangeFormFields",
|
|
|
|
"ResourceLoaderRegisterModules": "ConfirmEditHooks::onResourceLoaderRegisterModules"
|
2017-02-17 13:09:34 +00:00
|
|
|
},
|
|
|
|
"AuthManagerAutoConfig": {
|
|
|
|
"preauth": {
|
2019-10-16 19:29:56 +00:00
|
|
|
"CaptchaPreAuthenticationProvider": {
|
2017-02-17 13:09:34 +00:00
|
|
|
"class": "CaptchaPreAuthenticationProvider",
|
|
|
|
"sort": 10
|
|
|
|
}
|
|
|
|
}
|
2015-05-25 20:25:40 +00:00
|
|
|
},
|
|
|
|
"config": {
|
2019-10-16 19:29:56 +00:00
|
|
|
"CaptchaWhitelistIP": {
|
|
|
|
"value": false
|
|
|
|
},
|
|
|
|
"Captcha": {
|
|
|
|
"value": null
|
|
|
|
},
|
2017-04-14 14:15:58 +00:00
|
|
|
"CaptchaTriggers": {
|
2019-10-16 19:29:56 +00:00
|
|
|
"value": {
|
|
|
|
"edit": false,
|
|
|
|
"create": false,
|
|
|
|
"sendemail": false,
|
|
|
|
"addurl": true,
|
|
|
|
"createaccount": true,
|
|
|
|
"badlogin": true,
|
|
|
|
"badloginperuser": true
|
|
|
|
},
|
|
|
|
"merge_strategy": "array_plus"
|
2015-05-25 20:25:40 +00:00
|
|
|
},
|
2017-04-14 14:15:58 +00:00
|
|
|
"CaptchaTriggersOnNamespace": {
|
2019-10-16 19:29:56 +00:00
|
|
|
"value": {},
|
|
|
|
"merge_strategy": "array_plus_2d"
|
|
|
|
},
|
|
|
|
"CaptchaStorageClass": {
|
|
|
|
"value": "CaptchaSessionStore"
|
|
|
|
},
|
|
|
|
"CaptchaSessionExpiration": {
|
|
|
|
"value": 1800
|
|
|
|
},
|
|
|
|
"CaptchaBadLoginExpiration": {
|
|
|
|
"value": 300
|
|
|
|
},
|
|
|
|
"CaptchaBadLoginPerUserExpiration": {
|
|
|
|
"value": 600
|
|
|
|
},
|
|
|
|
"AllowConfirmedEmail": {
|
|
|
|
"value": false
|
|
|
|
},
|
|
|
|
"CaptchaBadLoginAttempts": {
|
|
|
|
"value": 3
|
|
|
|
},
|
|
|
|
"CaptchaBadLoginPerUserAttempts": {
|
|
|
|
"value": 20
|
|
|
|
},
|
|
|
|
"CaptchaWhitelist": {
|
|
|
|
"value": false
|
|
|
|
},
|
|
|
|
"CaptchaRegexes": {
|
|
|
|
"value": []
|
|
|
|
}
|
2015-05-25 20:25:40 +00:00
|
|
|
},
|
2019-10-16 19:29:56 +00:00
|
|
|
"manifest_version": 2
|
2015-05-25 20:25:40 +00:00
|
|
|
}
|