mediawiki-extensions-SpamBl.../extension.json
victorbarbu 789348941a Add license information
Bug: T123943
Change-Id: I1ca2c82474f56dfde209e462dc6a128625a96f07
2016-01-23 13:37:12 +02:00

75 lines
1.6 KiB
JSON

{
"name": "SpamBlacklist",
"author": [
"Tim Starling",
"John Du Hart",
"Daniel Kinzler"
],
"url": "https://www.mediawiki.org/wiki/Extension:SpamBlacklist",
"descriptionmsg": "spam-blacklist-desc",
"type": "antispam",
"license-name": "GPL-2.0+",
"callback": "SpamBlacklistHooks::registerExtension",
"requires": {
"MediaWiki": ">= 1.26.0"
},
"GroupPermissions": {
"sysop": {
"spamblacklistlog": true
}
},
"AvailableRights": [
"spamblacklistlog"
],
"LogTypes": [
"spamblacklist"
],
"LogRestrictions": {
"spamblacklist": "spamblacklistlog"
},
"LogActionsHandlers": {
"spamblacklist/*": "LogFormatter"
},
"APIModules": {
"spamblacklist": "ApiSpamBlacklist"
},
"MessagesDirs": {
"SpamBlackList": [
"i18n"
]
},
"AutoloadClasses": {
"ApiSpamBlacklist": "api/ApiSpamBlacklist.php",
"BaseBlacklist": "BaseBlacklist.php",
"EmailBlacklist": "EmailBlacklist.php",
"SpamBlacklistHooks": "SpamBlacklistHooks.php",
"SpamBlacklist": "SpamBlacklist_body.php",
"SpamRegexBatch": "SpamRegexBatch.php"
},
"Hooks": {
"EditFilterMergedContent": [
"SpamBlacklistHooks::filterMergedContent"
],
"APIEditBeforeSave": [
"SpamBlacklistHooks::filterAPIEditBeforeSave"
],
"EditFilter": [
"SpamBlacklistHooks::validate"
],
"PageContentSaveComplete": [
"SpamBlacklistHooks::pageSaveContent"
],
"UserCanSendEmail": [
"SpamBlacklistHooks::userCanSendEmail"
],
"AbortNewAccount": [
"SpamBlacklistHooks::abortNewAccount"
]
},
"config": {
"@doc": "BlacklistSettings are set in SpamBlacklistHooks.php",
"LogSpamBlacklistHits": false
},
"manifest_version": 1
}