mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/SpamBlacklist
synced 2024-11-24 07:04:04 +00:00
fb4dcf5565
So people can actually override it without live hacking... Change-Id: Id3b18b5b255fa1df321d34c4ce39849e1b545eec
82 lines
1.9 KiB
JSON
82 lines
1.9 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",
|
|
"SpamBlacklistPreAuthenticationProvider": "SpamBlacklistPreAuthenticationProvider.php"
|
|
},
|
|
"Hooks": {
|
|
"EditFilterMergedContent": [
|
|
"SpamBlacklistHooks::filterMergedContent"
|
|
],
|
|
"EditFilter": [
|
|
"SpamBlacklistHooks::validate"
|
|
],
|
|
"PageContentSaveComplete": [
|
|
"SpamBlacklistHooks::pageSaveContent"
|
|
],
|
|
"UserCanSendEmail": [
|
|
"SpamBlacklistHooks::userCanSendEmail"
|
|
],
|
|
"ParserOutputStashForEdit": [
|
|
"SpamBlacklistHooks::onParserOutputStashForEdit"
|
|
],
|
|
"UploadVerifyUpload": [
|
|
"SpamBlacklistHooks::onUploadVerifyUpload"
|
|
]
|
|
},
|
|
"config": {
|
|
"BlacklistSettings": {
|
|
"spam": {
|
|
"files": [ "https://meta.wikimedia.org/w/index.php?title=Spam_blacklist&action=raw&sb_ver=1" ]
|
|
},
|
|
"_merge_strategy": "array_plus_2d"
|
|
},
|
|
"LogSpamBlacklistHits": false,
|
|
"SpamBlacklistEventLogging": false
|
|
},
|
|
"manifest_version": 1
|
|
}
|