Update extension.json to version 2 with "updateExtensionJsonSchema.php".
[philipp/winterrodeln/mediawiki_extensions/wrmap.git] / extension.json
1 {
2         "name": "Winterrodeln Map",
3         "version": "4.0.0",
4         "author": "Philipp Spitzer",
5         "url": "http://www.winterrodeln.org/trac/wiki/WrMap",
6         "description": "This extension creates a map using OpenLayers to show sledrun details and sledrun overviews.",
7         "type": "parserhook",
8         "MessagesDirs": {
9                 "wrmap": [
10                         "i18n"
11                 ]
12         },
13         "AutoloadClasses": {
14                 "WrMap": "wrmap.body.php",
15                 "WrGMap": "wrmap.body.php"
16         },
17         "ResourceModules": {
18                 "ext.wrmap": {
19                         "scripts": [
20                                 "wrmap.js"
21                         ],
22                         "styles": [
23                                 "wrmap.css"
24                         ],
25                         "position": "top",
26                         "targets": [
27                                 "desktop",
28                                 "mobile"
29                         ]
30                 }
31         },
32         "ResourceFileModulePaths": {
33                 "localBasePath": "",
34                 "remoteExtPath": "wrmap"
35         },
36         "Hooks": {
37                 "ParserFirstCallInit": [
38                         "WrMap::onParserFirstCallInit",
39                         "WrGMap::onParserFirstCallInit"
40                 ],
41                 "EnableMobileModules": "WrMap::onEnableMobileModules"
42         },
43         "manifest_version": 2,
44         "requires": {
45                 "MediaWiki": ">= 1.29.0"
46         }
47 }