mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AJAXPoll
synced 2024-11-14 18:54:47 +00:00
9e6312ce6d
Tested with MediaWiki 1.31.0 + REL1_31 versions of MobileFrontend & MinervaNeue. Bug: T133940 Change-Id: If0bf8378bd09364111c969d16075ab0cd958cbcd
77 lines
1.5 KiB
JSON
77 lines
1.5 KiB
JSON
{
|
|
"name": "AJAX Poll",
|
|
"version": "2.1",
|
|
"author": [
|
|
"Dariusz Siedlecki",
|
|
"Jack Phoenix",
|
|
"Thomas Gries"
|
|
],
|
|
"url": "https://www.mediawiki.org/wiki/Extension:AJAX_Poll",
|
|
"descriptionmsg": "ajaxpoll-desc",
|
|
"type": "parserhook",
|
|
"requires": {
|
|
"MediaWiki": ">= 1.30.0"
|
|
},
|
|
"GroupPermissions": {
|
|
"*": {
|
|
"ajaxpoll-vote": false,
|
|
"ajaxpoll-view-results": false,
|
|
"ajaxpoll-view-results-before-vote": false
|
|
},
|
|
"user": {
|
|
"ajaxpoll-vote": true,
|
|
"ajaxpoll-view-results": true
|
|
}
|
|
},
|
|
"AvailableRights": [
|
|
"ajaxpoll-vote",
|
|
"ajaxpoll-view-results",
|
|
"ajaxpoll-view-results-before-vote"
|
|
],
|
|
"MessagesDirs": {
|
|
"AJAXPoll": [
|
|
"i18n"
|
|
]
|
|
},
|
|
"APIModules": {
|
|
"pollsubmitvote": "ApiAJAXPollSubmitVote"
|
|
},
|
|
"AutoloadClasses": {
|
|
"AJAXPoll": "includes/AJAXPoll.class.php",
|
|
"ApiAJAXPollSubmitVote": "includes/api/ApiAJAXPollSubmitVote.php"
|
|
},
|
|
"ResourceModules": {
|
|
"ext.ajaxpoll": {
|
|
"group": "ext.ajaxpoll",
|
|
"scripts": [
|
|
"js/ajaxpoll.js"
|
|
],
|
|
"styles": [
|
|
"css/ajaxpoll.css"
|
|
],
|
|
"dependencies": [
|
|
"mediawiki.api"
|
|
],
|
|
"messages": [
|
|
"ajaxpoll-submitting"
|
|
],
|
|
"targets": [
|
|
"desktop",
|
|
"mobile"
|
|
]
|
|
}
|
|
},
|
|
"ResourceFileModulePaths": {
|
|
"localBasePath": "resources",
|
|
"remoteExtPath": "AJAXPoll/resources"
|
|
},
|
|
"Hooks": {
|
|
"ParserFirstCallInit": "AJAXPoll::onParserFirstCallInit",
|
|
"LoadExtensionSchemaUpdates": "AJAXPoll::onLoadExtensionSchemaUpdates"
|
|
},
|
|
"TrackingCategories": [
|
|
"ajaxpoll-tracking-category"
|
|
],
|
|
"manifest_version": 1
|
|
}
|