Add OpenLayers 4.6.5 support.
[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                                 "https://cdnjs.cloudflare.com/ajax/libs/openlayers/4.6.5/ol-debug.js",
21                                 "wrmap.js"
22                         ],
23                         "styles": [
24                                 "https://cdnjs.cloudflare.com/ajax/libs/openlayers/4.6.5/ol-debug.css"
25                         ],
26                         "position": "top"
27                 },
28                 "ext.wrmap.mobile": {
29                         "scripts": [
30                                 "https://cdnjs.cloudflare.com/ajax/libs/openlayers/4.6.5/ol-debug.js",
31                                 "wrmap.js"
32                         ],
33                         "styles": [
34                                 "https://cdnjs.cloudflare.com/ajax/libs/openlayers/4.6.5/ol-debug.css"
35                         ],
36                         "position": "top",
37                         "targets": "mobile"
38                 }
39         },
40         "ResourceFileModulePaths": {
41                 "localBasePath": "",
42                 "remoteExtPath": "wrmap"
43         },
44         "Hooks": {
45                 "ParserFirstCallInit": ["WrMap::onParserFirstCallInit", "WrGMap::onParserFirstCallInit"],
46                 "EnableMobileModules": "WrMap::onEnableMobileModules"
47         },
48         "manifest_version": 1
49 }