mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TitleBlacklist
synced 2024-11-13 17:27:39 +00:00
8cb2f2f252
TitleBlacklist compares cache version in app code, meaning that entries with old versions will still be deserialized. Bug: T307513 Change-Id: Icea6022fcf5530b2429ce660e2589dd5954577a7
137 lines
3.1 KiB
JSON
137 lines
3.1 KiB
JSON
{
|
|
"name": "TitleBlacklist",
|
|
"version": "1.5.0",
|
|
"author": [
|
|
"Victor Vasiliev",
|
|
"Fran Rogers"
|
|
],
|
|
"url": "https://www.mediawiki.org/wiki/Extension:TitleBlacklist",
|
|
"descriptionmsg": "titleblacklist-desc",
|
|
"license-name": "GPL-2.0-or-later",
|
|
"type": "antispam",
|
|
"requires": {
|
|
"MediaWiki": ">= 1.37.0"
|
|
},
|
|
"GroupPermissions": {
|
|
"sysop": {
|
|
"tboverride": true,
|
|
"titleblacklistlog": true
|
|
}
|
|
},
|
|
"AvailableRights": [
|
|
"tboverride",
|
|
"tboverride-account",
|
|
"titleblacklistlog"
|
|
],
|
|
"LogTypes": [
|
|
"titleblacklist"
|
|
],
|
|
"LogRestrictions": {
|
|
"titleblacklist": "titleblacklistlog"
|
|
},
|
|
"LogActionsHandlers": {
|
|
"titleblacklist/*": "LogFormatter"
|
|
},
|
|
"GrantPermissions": {
|
|
"createaccount": {
|
|
"tboverride-account": true
|
|
},
|
|
"editprotected": {
|
|
"tboverride": true
|
|
},
|
|
"viewrestrictedlogs": {
|
|
"titleblacklistlog": true
|
|
}
|
|
},
|
|
"APIModules": {
|
|
"titleblacklist": "MediaWiki\\Extension\\TitleBlacklist\\Api\\ApiQueryTitleBlacklist"
|
|
},
|
|
"MessagesDirs": {
|
|
"TitleBlacklist": [
|
|
"i18n",
|
|
"i18n/api"
|
|
]
|
|
},
|
|
"AutoloadClasses": {
|
|
"MediaWiki\\Extension\\TitleBlacklist\\TitleBlacklist": "includes/TitleBlacklist.php",
|
|
"TitleBlacklist": "includes/TitleBlacklist.php",
|
|
"MediaWiki\\Extension\\TitleBlacklist\\TitleBlacklistEntry": "includes/TitleBlacklistEntry.php",
|
|
"TitleBlacklistEntry": "includes/TitleBlacklistEntry.php"
|
|
},
|
|
"AutoloadNamespaces": {
|
|
"MediaWiki\\Extension\\TitleBlacklist\\": "includes/"
|
|
},
|
|
"ResourceModules": {
|
|
"mediawiki.api.titleblacklist": {
|
|
"scripts": "mediawiki.api.titleblacklist.js",
|
|
"dependencies": [
|
|
"mediawiki.api"
|
|
],
|
|
"targets": [
|
|
"desktop",
|
|
"mobile"
|
|
]
|
|
},
|
|
"ext.titleblacklist.visualEditor": {
|
|
"scripts": "ve-titleblacklist/ve.init.mw.TitleBlacklistSaveErrorHandler.js",
|
|
"targets": [
|
|
"desktop",
|
|
"mobile"
|
|
]
|
|
}
|
|
},
|
|
"attributes": {
|
|
"VisualEditor": {
|
|
"PluginModules": [
|
|
"ext.titleblacklist.visualEditor"
|
|
]
|
|
}
|
|
},
|
|
"ResourceFileModulePaths": {
|
|
"localBasePath": "modules",
|
|
"remoteExtPath": "TitleBlacklist/modules"
|
|
},
|
|
"Hooks": {
|
|
"getUserPermissionsErrorsExpensive": "TitleBlacklistHookHandler",
|
|
"TitleGetEditNotices": "TitleBlacklistHookHandler",
|
|
"MovePageCheckPermissions": "TitleBlacklistHookHandler",
|
|
"EditFilter": "TitleBlacklistHookHandler",
|
|
"PageSaveComplete": "TitleBlacklistHookHandler",
|
|
"ScribuntoExternalLibraries": "MediaWiki\\Extension\\TitleBlacklist\\Hooks::onScribuntoExternalLibraries"
|
|
},
|
|
"HookHandlers": {
|
|
"TitleBlacklistHookHandler": {
|
|
"class": "MediaWiki\\Extension\\TitleBlacklist\\Hooks"
|
|
}
|
|
},
|
|
"config": {
|
|
"TitleBlacklistSources": {
|
|
"value": []
|
|
},
|
|
"TitleBlacklistUsernameSources": {
|
|
"value": "*"
|
|
},
|
|
"TitleBlacklistLogHits": {
|
|
"value": false
|
|
},
|
|
"TitleBlacklistCaching": {
|
|
"value": {
|
|
"warningchance": 100,
|
|
"expiry": 900,
|
|
"warningexpiry": 600
|
|
}
|
|
},
|
|
"TitleBlacklistBlockAutoAccountCreation": {
|
|
"value": true
|
|
}
|
|
},
|
|
"AuthManagerAutoConfig": {
|
|
"preauth": {
|
|
"TitleBlacklistPreAuthenticationProvider": {
|
|
"class": "MediaWiki\\Extension\\TitleBlacklist\\TitleBlacklistPreAuthenticationProvider"
|
|
}
|
|
}
|
|
},
|
|
"manifest_version": 2
|
|
}
|