summaryrefslogtreecommitdiff
path: root/extension.json
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2022-10-03 20:58:18 +0200
committerMartin Fischer <martin@push-f.com>2022-10-04 20:35:21 +0200
commit9066e158af51282c623bf71671e41b1893365b77 (patch)
treeffa6b280d6c04579594eab74dc7f7336f239b782 /extension.json
initial commit
Diffstat (limited to 'extension.json')
-rw-r--r--extension.json43
1 files changed, 43 insertions, 0 deletions
diff --git a/extension.json b/extension.json
new file mode 100644
index 0000000..d681f1b
--- /dev/null
+++ b/extension.json
@@ -0,0 +1,43 @@
+{
+ "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"
+ },
+ "ResourceModules": {
+ "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
+}