Convert to extension registration

Change-Id: I3330d28cee9f9c0075672b48dd8fa63a2a799c4c
This commit is contained in:
Lewis Cawte 2015-05-31 23:23:42 +01:00
parent 2755b53067
commit 9b2d7168f9

72
extension.json Normal file
View file

@ -0,0 +1,72 @@
{
"name": "AJAX Poll",
"version": "1.88.0 20140330",
"author": [
"Dariusz Siedlecki",
"Jack Phoenix",
"Thomas Gries"
],
"url": "https://www.mediawiki.org/wiki/Extension:AJAX_Poll",
"descriptionmsg": "ajaxpoll-desc",
"type": "parserhook",
"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"
]
},
"AutoloadClasses": {
"AJAXPoll": "AJAXPoll_body.php"
},
"ResourceModules": {
"ext.ajaxpoll": {
"group": "ext.ajaxpoll",
"scripts": [
"ajaxpoll.js"
],
"styles": [
"ajaxpoll.css"
],
"dependencies": [],
"messages": [
"ajaxpoll-submitting"
]
}
},
"ResourceFileModulePaths": {
"localBasePath": "resources",
"remoteExtPath": "AJAXPoll/resources"
},
"Hooks": {
"ParserFirstCallInit": [
"AJAXPoll::onParserInit"
],
"LoadExtensionSchemaUpdates": [
"AJAXPoll::onLoadExtensionSchemaUpdates"
]
},
"config": {
"AjaxExportList": [
"AJAXPoll::submitVote"
],
"TrackingCategories": [
"ajaxpoll-tracking-category"
]
},
"manifest_version": 1
}