Use different background map based on location.
[philipp/winterrodeln/mediawiki_extensions/wrmap.git] / extension.json
index d231070ab13e337f3ce00807afb0483ce105f5c5..849a1e6d98dd588ad8a9172924438416b090d7c7 100644 (file)
@@ -1,6 +1,6 @@
 {
        "name": "Winterrodeln Map",
-       "version": "3.3.2",
+       "version": "4.0.0",
        "author": "Philipp Spitzer",
        "url": "http://www.winterrodeln.org/trac/wiki/WrMap",
        "description": "This extension creates a map using OpenLayers to show sledrun details and sledrun overviews.",
        "ResourceModules": {
                "ext.wrmap": {
                        "scripts": [
-                               "openlayers/OpenLayers.min.js",
                                "wrmap.js"
                        ],
-                       "styles": [
-                               "openlayers/theme/default/style.css",
-                               "openlayers/theme/default/google.css"
-                       ],
+                       "styles": ["wrmap.css"],
                        "position": "top"
                },
                "ext.wrmap.mobile": {
                        "scripts": [
-                               "openlayers/OpenLayers.min.js",
                                "wrmap.js"
                        ],
-                       "styles": [
-                               "openlayers/theme/default/style.css",
-                               "openlayers/theme/default/google.css"
-                       ],
+                       "styles": ["wrmap.css"],
                        "position": "top",
                        "targets": "mobile"
                }
@@ -44,7 +36,7 @@
                "remoteExtPath": "wrmap"
        },
        "Hooks": {
-               "ParserFirstCallInit": "wrMapParserFirstCallInit",
+               "ParserFirstCallInit": ["WrMap::onParserFirstCallInit", "WrGMap::onParserFirstCallInit"],
                "EnableMobileModules": "WrMap::onEnableMobileModules"
        },
        "manifest_version": 1