mediawiki-extensions-InputBox/extension.json
Reedy 5ef98e8775 Convert to manifest_version 2
Bug: T252470
Change-Id: I22b8c6151272a81a58ffcab3730e247f175646ed
2020-05-12 00:03:08 +01:00

63 lines
1.2 KiB
JSON

{
"name": "InputBox",
"version": "0.3.0",
"author": [
"Erik Moeller",
"Leonardo Pimenta",
"Rob Church",
"Trevor Parscal",
"DaSch"
],
"url": "https://www.mediawiki.org/wiki/Extension:InputBox",
"descriptionmsg": "inputbox-desc",
"requires": {
"MediaWiki": ">= 1.30.0"
},
"license-name": "MIT",
"type": "parserhook",
"MessagesDirs": {
"InputBox": [
"i18n"
]
},
"AutoloadClasses": {
"InputBoxHooks": "includes/InputBoxHooks.php",
"InputBox": "includes/InputBox.php"
},
"ResourceModules": {
"ext.inputBox.styles": {
"styles": "ext.inputBox.styles.css",
"targets": [
"mobile",
"desktop"
]
},
"ext.inputBox": {
"scripts": "ext.inputBox.js",
"dependencies": [
"jquery.throttle-debounce"
],
"targets": [
"mobile",
"desktop"
]
}
},
"ResourceFileModulePaths": {
"localBasePath": "resources",
"remoteExtPath": "InputBox/resources"
},
"Hooks": {
"ParserFirstCallInit": [
"InputBoxHooks::register"
],
"MediaWikiPerformAction": [
"InputBoxHooks::onMediaWikiPerformAction"
],
"SpecialPageBeforeExecute": [
"InputBoxHooks::onSpecialPageBeforeExecute"
]
},
"manifest_version": 2
}