mediawiki-extensions-Confir.../extension.json
Florian 1163b6f100 Replace the edit preview with a validation of whitelisted IP addresses
The user now can press the preview button to bring up an interpreted list
of the lines of the interface message MediaWiki:Captcha-ip-whitelist to check
if the added/remained data is (still) a valid list of (whitelisted) IP addresses.

Bug: T129757
Change-Id: Ic61f00e7f88c9290ae6e11f7258c11a730ac98c8
2016-08-21 18:54:41 +02:00

111 lines
3.1 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",
"ResourceModules": {
"ext.confirmEdit.editPreview.ipwhitelist.styles": {
"position": "top",
"styles": "ext.confirmEdit.editPreview.ipwhitelist.styles.css"
}
},
"ResourceFileModulePaths": {
"localBasePath": "resources",
"remoteExtPath": "ConfirmEdit/resources"
},
"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",
"TitleReadWhitelist": "ConfirmEditHooks::onTitleReadWhitelist",
"AlternateEditPreview": "ConfirmEditHooks::onAlternateEditPreview"
},
"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
}