summaryrefslogtreecommitdiff
path: root/extensions/InputBox/extension.json
blob: 626c29620f66c54c902ffa854069e7be4ea0e9a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
{
	"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",
	"license-name": "MIT",
	"type": "parserhook",
	"MessagesDirs": {
		"InputBox": [
			"i18n"
		]
	},
	"AutoloadClasses": {
		"InputBoxHooks": "InputBox.hooks.php",
		"InputBox": "InputBox.classes.php"
	},
	"ResourceModules": {
		"ext.inputBox.styles": {
			"styles": "ext.inputBox.styles.css",
			"position": "top",
			"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": 1
}