mediawiki-extensions-Nuke/extension.json
Alexander Vorwerk b88f9e2279 SpecialNuke: inject services
Change-Id: Ib57944f0fb7e512456318519acf27c5874160b1b
2023-04-28 17:24:41 +00:00

79 lines
1.3 KiB
JSON

{
"name": "Nuke",
"author": [
"Brion Vibber",
"Jeroen De Dauw"
],
"url": "https://www.mediawiki.org/wiki/Extension:Nuke",
"descriptionmsg": "nuke-desc",
"license-name": "GPL-2.0-or-later",
"requires": {
"MediaWiki": ">= 1.37"
},
"type": "specialpage",
"ExtensionMessagesFiles": {
"NukeAlias": "Nuke.alias.php"
},
"MessagesDirs": {
"Nuke": [
"i18n"
]
},
"HookHandlers": {
"main": {
"class": "MediaWiki\\Extension\\Nuke\\Hooks"
}
},
"Hooks": {
"ContributionsToolLinks": "main"
},
"ResourceModules": {
"ext.nuke.confirm": {
"scripts": [
"ext.nuke.confirm.js"
],
"dependencies": [
"mediawiki.jqueryMsg"
],
"messages": [
"nuke-confirm"
]
}
},
"ResourceFileModulePaths": {
"localBasePath": "modules",
"remoteExtPath": "Nuke/modules"
},
"GroupPermissions": {
"sysop": {
"nuke": true
}
},
"AvailableRights": [
"nuke"
],
"GrantPermissions": {
"delete": {
"nuke": true
}
},
"SpecialPages": {
"Nuke": {
"class": "MediaWiki\\Extension\\Nuke\\SpecialNuke",
"services": [
"JobQueueGroup",
"DBLoadBalancer",
"PermissionManager",
"RepoGroup",
"UserFactory",
"UserNamePrefixSearch",
"UserNameUtils"
]
}
},
"AutoloadNamespaces": {
"MediaWiki\\Extension\\Nuke\\": "includes/"
},
"manifest_version": 2
}