Switched from Bing map to Google map.
[philipp/winterrodeln/mediawiki_extensions/wrmap.git] / extension.json
1 {
2         "name": "Winterrodeln Map",
3         "version": "3.4.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                                 "openlayers/OpenLayers.min.js",
21                                 "wrmap.js"
22                         ],
23                         "styles": [
24                                 "openlayers/theme/default/style.css",
25                                 "openlayers/theme/default/google.css"
26                         ],
27                         "position": "top"
28                 },
29                 "ext.wrmap.mobile": {
30                         "scripts": [
31                                 "openlayers/OpenLayers.min.js",
32                                 "wrmap.js"
33                         ],
34                         "styles": [
35                                 "openlayers/theme/default/style.css",
36                                 "openlayers/theme/default/google.css"
37                         ],
38                         "position": "top",
39                         "targets": "mobile"
40                 }
41         },
42         "ResourceFileModulePaths": {
43                 "localBasePath": "",
44                 "remoteExtPath": "wrmap"
45         },
46         "Hooks": {
47                 "ParserFirstCallInit": ["WrMap::onParserFirstCallInit", "WrGMap::onParserFirstCallInit"],
48                 "EnableMobileModules": "WrMap::onEnableMobileModules"
49         },
50         "manifest_version": 1
51 }