summaryrefslogtreecommitdiff
path: root/extension.json
blob: bdea38d1702fd3c217be39a98fdb721e6faf882f (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
{
	"name": "Vote",
	"type": "parserhook",
	"license-name": "MIT",
	"author": "[https://push-f.com/ Martin Fischer]",
	"url": "https://git.push-f.com/mw-vote",
	"version": "0.1.0",
	"description": "Provides the <code>&lt;vote&gt;</code> tag.",
	"MessagesDirs": {
		"VoteExtension": [
			"i18n"
		]
	},
	"AutoloadClasses": {
		"VoteHooks": "Vote.php",
		"SpecialInsertVote": "Vote.php"
	},
	"SpecialPages": {
		"InsertVote": "SpecialInsertVote"
	},
	"Hooks": {
		"ParserFirstCallInit": "VoteHooks::onParserFirstCallInit",
		"ParserPreSaveTransformComplete": "VoteHooks::onParserPreSaveTransformComplete"
	},
	"ResourceModules": {
		"ext.vote-css": {
			"localBasePath": "resources",
			"remoteExtPath": "Vote/resources",
			"styles": ["style.css"]
		},
		"ext.vote-js": {
			"localBasePath": "resources",
			"remoteExtPath": "Vote/resources",
			"packageFiles": ["optional.js"],
			"messages": [
				"vote-edit-your-vote",
				"vote-already-yes",
				"vote-already-no",
				"vote-already-abstain",
				"vote-change"
			]
		}
	},
	"TrackingCategories": [
		"pages-with-open-votes-category",
		"pages-with-vote-errors-category"
	],
	"manifest_version": 1
}