Update extension.json to version 2 with "updateExtensionJsonSchema.php". openlayers_v6
authorPhilipp Spitzer <philipp@spitzer.priv.at>
Tue, 22 Jun 2021 20:52:22 +0000 (22:52 +0200)
committerPhilipp Spitzer <philipp@spitzer.priv.at>
Tue, 22 Jun 2021 20:52:22 +0000 (22:52 +0200)
extension.json

index 0ea018a345f25239fba580b246770a2c3764861a..4ec31f41e426ab9e3dbcf343a170731ab44e2911 100644 (file)
@@ -19,7 +19,9 @@
                        "scripts": [
                                "wrmap.js"
                        ],
                        "scripts": [
                                "wrmap.js"
                        ],
-                       "styles": ["wrmap.css"],
+                       "styles": [
+                               "wrmap.css"
+                       ],
                        "position": "top",
                        "targets": [
                                "desktop",
                        "position": "top",
                        "targets": [
                                "desktop",
                "remoteExtPath": "wrmap"
        },
        "Hooks": {
                "remoteExtPath": "wrmap"
        },
        "Hooks": {
-               "ParserFirstCallInit": ["WrMap::onParserFirstCallInit", "WrGMap::onParserFirstCallInit"],
+               "ParserFirstCallInit": [
+                       "WrMap::onParserFirstCallInit",
+                       "WrGMap::onParserFirstCallInit"
+               ],
                "EnableMobileModules": "WrMap::onEnableMobileModules"
        },
                "EnableMobileModules": "WrMap::onEnableMobileModules"
        },
-       "manifest_version": 1
+       "manifest_version": 2,
+       "requires": {
+               "MediaWiki": ">= 1.29.0"
+       }
 }
 }