mediawiki-extensions-TitleB.../extension.json

110 lines
2.5 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+",
"type": "antispam",
"GroupPermissions": {
"sysop": {
"tboverride": true,
"titleblacklistlog": true
}
},
"AvailableRights": [
"tboverride",
"tboverride-account",
"titleblacklistlog"
],
"LogTypes": [
"titleblacklist"
],
"LogRestrictions": {
"titleblacklist": "titleblacklistlog"
},
"LogActionsHandlers": {
"titleblacklist/*": "LogFormatter"
},
"APIModules": {
"titleblacklist": "ApiQueryTitleBlacklist"
},
"MessagesDirs": {
"TitleBlacklist": [
"i18n"
]
},
"AutoloadClasses": {
"TitleBlacklist": "TitleBlacklist.list.php",
"TitleBlacklistEntry": "TitleBlacklist.list.php",
"TitleBlacklistHooks": "TitleBlacklist.hooks.php",
"Scribunto_LuaTitleBlacklistLibrary": "TitleBlacklist.library.php",
"ApiQueryTitleBlacklist": "api/ApiQueryTitleBlacklist.php"
},
"ResourceModules": {
"mediawiki.api.titleblacklist": {
"scripts": "mediawiki.api.titleblacklist.js",
"dependencies": [
"mediawiki.api"
]
}
},
"ResourceFileModulePaths": {
"localBasePath": "modules",
"remoteExtPath": "TitleBlacklist/modules"
},
"Hooks": {
"getUserPermissionsErrorsExpensive": [
"TitleBlacklistHooks::userCan"
],
"TitleGetEditNotices": [
"TitleBlacklistHooks::displayBlacklistOverrideNotice"
],
"MovePageCheckPermissions": [
"TitleBlacklistHooks::onMovePageCheckPermissions"
],
"AbortNewAccount": [
"TitleBlacklistHooks::abortNewAccount"
],
"AbortAutoAccount": [
"TitleBlacklistHooks::abortAutoAccount"
],
"EditFilter": [
"TitleBlacklistHooks::validateBlacklist"
],
"ArticleSaveComplete": [
"TitleBlacklistHooks::clearBlacklist"
],
"UserCreateForm": [
"TitleBlacklistHooks::addOverrideCheckbox"
],
"UnitTestsList": [
"TitleBlacklistHooks::unitTestsList"
],
"ScribuntoExternalLibraries": [
"TitleBlacklistHooks::scribuntoExternalLibraries"
],
"APIGetAllowedParams": [
"TitleBlacklistHooks::onAPIGetAllowedParams"
],
"AddNewAccountApiForm": [
"TitleBlacklistHooks::onAddNewAccountApiForm"
]
},
"config": {
"TitleBlacklistSources": [],
"TitleBlacklistUsernameSources": "*",
"TitleBlacklistLogHits": false,
"TitleBlacklistCaching": {
"warningchance": 100,
"expiry": 900,
"warningexpiry": 600
},
"TitleBlacklistBlockAutoAccountCreation": true
},
"manifest_version": 1
}