mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/SpamBlacklist
synced 2024-11-15 03:13:58 +00:00
c5e5c1743b
Bug: T100745 Change-Id: Ia23b194b5a12a6b9d6c92740cbe13051640147b1
71 lines
1.5 KiB
JSON
71 lines
1.5 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",
|
|
"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
|
|
}
|