mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AJAXPoll
synced 2024-11-15 03:04:14 +00:00
0469665d77
MW 1.30.0+ is now explicitly required; as such, dropped pre-1.17 support from AJAXPoll#onLoadExtensionSchemaUpdates. Also "fixed" T163625 by changing an INSERT INTO query into INSERT IGNORE INTO, swapped some "double quotes" to 'single quotes', refactored some stuff, etc. Bug: T163625 Change-Id: Ifbabf3bf5da25c602fe5873539520c517573890c
73 lines
1.4 KiB
JSON
73 lines
1.4 KiB
JSON
{
|
|
"name": "AJAX Poll",
|
|
"version": "2.0",
|
|
"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"
|
|
]
|
|
}
|
|
},
|
|
"ResourceFileModulePaths": {
|
|
"localBasePath": "resources",
|
|
"remoteExtPath": "AJAXPoll/resources"
|
|
},
|
|
"Hooks": {
|
|
"ParserFirstCallInit": "AJAXPoll::onParserFirstCallInit",
|
|
"LoadExtensionSchemaUpdates": "AJAXPoll::onLoadExtensionSchemaUpdates"
|
|
},
|
|
"TrackingCategories": [
|
|
"ajaxpoll-tracking-category"
|
|
],
|
|
"manifest_version": 1
|
|
}
|