mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/SpamBlacklist
synced 2024-11-28 00:50:28 +00:00
93df3ed07a
It was only needed for MediaWiki prior to 1.25
(09a5febb7b024c0b6585141bb05cba13a642f3eb).
We no longer support those versions after
5d882775f6
.
Bug: T137832
Change-Id: I97f6a3c20476f1a42e3fadc701df5870a30c790c
74 lines
1.7 KiB
JSON
74 lines
1.7 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"
|
|
]
|
|
},
|
|
"config": {
|
|
"@doc": "BlacklistSettings are set in SpamBlacklistHooks.php",
|
|
"LogSpamBlacklistHits": false,
|
|
"SpamBlacklistEventLogging": false
|
|
},
|
|
"manifest_version": 1
|
|
}
|