mediawiki-extensions-SpamBl.../extension.json
Matěj Suchánek 3d5392403b Escape url in Special:Log
When there is a "$1" in the url, it is treated like a message parameter
and replaced.

See https://www.wikidata.org/w/index.php?title=Special:Log&type=spamblacklist&page=Property:P2536.

Change-Id: Ia223a89e12c652a87d52a18c78e612b4b12871bc
2017-01-22 11:04:35 +00:00

90 lines
2.2 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/*": "SpamBlacklistLogFormatter"
},
"GrantPermissions": {
"viewrestrictedlogs": {
"spamblacklistlog": true
}
},
"APIModules": {
"spamblacklist": "ApiSpamBlacklist"
},
"MessagesDirs": {
"SpamBlackList": [
"i18n"
]
},
"AutoloadClasses": {
"ApiSpamBlacklist": "api/ApiSpamBlacklist.php",
"BaseBlacklist": "BaseBlacklist.php",
"EmailBlacklist": "EmailBlacklist.php",
"SpamBlacklistHooks": "SpamBlacklistHooks.php",
"SpamBlacklist": "SpamBlacklist_body.php",
"SpamBlacklistLogFormatter": "SpamBlacklistLogFormatter.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"
],
"ArticleDelete": "SpamBlacklistHooks::onArticleDelete",
"ArticleDeleteComplete": "SpamBlacklistHooks::onArticleDeleteComplete"
},
"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
}