summaryrefslogtreecommitdiff
path: root/extensions/SpamBlacklist/extension.json
blob: 7298673d8bb185f6d503f8744aaccd38dec1a996 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
{
	"name": "SpamBlacklist",
	"author": [
		"Tim Starling",
		"John Du Hart",
		"Daniel Kinzler"
	],
	"url": "https://www.mediawiki.org/wiki/Extension:SpamBlacklist",
	"descriptionmsg": "spam-blacklist-desc",
	"type": "antispam",
	"callback": "SpamBlacklistHooks::registerExtension",
	"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
}