mediawiki-extensions-SpamBl.../extension.json
Martin Urbanec b94010960c Add sboverride to editprotected grant
This is where the `tboverride` right (similar to
`sboverride`) is. In an ideal world, all existing rights
should be assigned to a grant, so they can be used via
OAuth / bot passwords.

Change-Id: I6fd90d9ca27a93f5e8ecd8a8772b197288f46ae3
2022-07-15 20:17:41 +02:00

114 lines
2.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",
"license-name": "GPL-2.0-or-later",
"requires": {
"MediaWiki": ">= 1.38.0"
},
"GroupPermissions": {
"user": {
"spamblacklistlog": true
}
},
"AvailableRights": [
"spamblacklistlog",
"sboverride"
],
"LogTypes": [
"spamblacklist"
],
"LogRestrictions": {
"spamblacklist": "spamblacklistlog"
},
"LogActionsHandlers": {
"spamblacklist/*": "MediaWiki\\Extension\\SpamBlacklist\\SpamBlacklistLogFormatter"
},
"GrantPermissions": {
"viewrestrictedlogs": {
"spamblacklistlog": true
},
"editprotected": {
"sboverride": true
}
},
"APIModules": {
"spamblacklist": "MediaWiki\\Extension\\SpamBlacklist\\ApiSpamBlacklist"
},
"MessagesDirs": {
"SpamBlackList": [
"i18n",
"i18n/api"
]
},
"AutoloadClasses": {
"BaseBlacklist": "includes/BaseBlacklist.php",
"MediaWiki\\Extension\\SpamBlacklist\\BaseBlacklist": "includes/BaseBlacklist.php"
},
"AutoloadNamespaces": {
"MediaWiki\\Extension\\SpamBlacklist\\": "includes/"
},
"ResourceModules": {
"ext.spamBlacklist.visualEditor": {
"scripts": "ve-spamblacklist/ve.init.mw.SpamBlacklistSaveErrorHandler.js",
"targets": [
"desktop",
"mobile"
]
}
},
"attributes": {
"VisualEditor": {
"PluginModules": [
"ext.spamBlacklist.visualEditor"
]
}
},
"ResourceFileModulePaths": {
"localBasePath": "modules",
"remoteExtPath": "SpamBlacklist/modules"
},
"Hooks": {
"EditFilterMergedContent": "SpamBlacklistHookHandler",
"EditFilter": "SpamBlacklistHookHandler",
"PageSaveComplete": "SpamBlacklistHookHandler",
"UserCanSendEmail": "SpamBlacklistHookHandler",
"ParserOutputStashForEdit": "SpamBlacklistHookHandler",
"UploadVerifyUpload": "SpamBlacklistHookHandler"
},
"HookHandlers": {
"SpamBlacklistHookHandler": {
"class": "MediaWiki\\Extension\\SpamBlacklist\\Hooks"
}
},
"config": {
"BlacklistSettings": {
"value": {
"spam": {
"files": [
"https://meta.wikimedia.org/w/index.php?title=Spam_blacklist&action=raw&sb_ver=1"
]
}
},
"merge_strategy": "array_plus_2d"
},
"LogSpamBlacklistHits": {
"value": false
}
},
"AuthManagerAutoConfig": {
"preauth": {
"SpamBlacklistPreAuthenticationProvider": {
"class": "MediaWiki\\Extension\\SpamBlacklist\\SpamBlacklistPreAuthenticationProvider"
}
}
},
"manifest_version": 2
}