mediawiki-extensions-InputBox/extension.json
Florian d5dbe717b6 Convert InputBox.php to extension.json for extension registration
Bug: T87931
Change-Id: Ib3cd4714c842ebf17da5b1f0932fd886dbc65c66
2015-05-04 13:25:16 -07:00

55 lines
1.1 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",
"description": "Allow inclusion of predefined HTML forms.",
"descriptionmsg": "inputbox-desc",
"type": "parserhook",
"MessagesDirs": {
"InputBox": [
"i18n"
]
},
"AutoloadClasses": {
"InputBoxHooks": "InputBox.hooks.php",
"InputBox": "InputBox.classes.php"
},
"ResourceModules": {
"ext.inputBox.styles": {
"styles": "ext.inputBox.styles.css"
},
"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"
]
}
}