mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AJAXPoll
synced 2024-11-30 17:54:28 +00:00
5177fd7ace
Current version does not consider anonymous votes at all, which caused the script to fail horribly on wikis that allowed anons to vote. Change-Id: Ic2a42a581d3495150f89a66a58276aa004bd22e8
79 lines
1.6 KiB
JSON
79 lines
1.6 KiB
JSON
{
|
|
"name": "AJAX Poll",
|
|
"version": "2.3",
|
|
"author": [
|
|
"Dariusz Siedlecki",
|
|
"Jack Phoenix",
|
|
"Thomas Gries"
|
|
],
|
|
"url": "https://www.mediawiki.org/wiki/Extension:AJAX_Poll",
|
|
"descriptionmsg": "ajaxpoll-desc",
|
|
"type": "parserhook",
|
|
"license-name": "GFDL-1.2",
|
|
"requires": {
|
|
"MediaWiki": ">= 1.34.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",
|
|
"MigrateOldAJAXPollUserColumnsToActor": "maintenance/migrateOldAJAXPollUserColumnsToActor.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
|
|
}
|