Include Polyfill for Internet Explorer directly instead of using a CDN.
[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                                 "vendor/ol.js",
22                                 "vendor/polyfill.min.js"
23                         ],
24                         "styles": [
25                                 "wrmap.css",
26                                 "vendor/ol.css"
27                         ],
28                         "position": "top",
29                         "targets": [
30                                 "desktop",
31                                 "mobile"
32                         ]
33                 }
34         },
35         "ResourceFileModulePaths": {
36                 "localBasePath": "",
37                 "remoteExtPath": "wrmap"
38         },
39         "Hooks": {
40                 "ParserFirstCallInit": [
41                         "WrMap::onParserFirstCallInit",
42                         "WrGMap::onParserFirstCallInit"
43                 ],
44                 "EnableMobileModules": "WrMap::onEnableMobileModules"
45         },
46         "manifest_version": 2,
47         "requires": {
48                 "MediaWiki": ">= 1.29.0"
49         }
50 }