Add icons in MobileMenuHook.
[philipp/winterrodeln/mediawiki_extensions/wrreport.git] / extension.json
index 4a60cf79b038c475dd5f563caa7f69fde3aa5ecc..806d7bbf0f4dcabb1862ede31897837e35ee2933 100644 (file)
@@ -2,7 +2,7 @@
        "name": "Winterrodeln Report",
        "version": "3.1.0",
        "author": "Philipp Spitzer",
-       "url": "http://www.winterrodeln.org/trac/wiki/WrReport",
+       "url": "https://www.winterrodeln.org/trac/wiki/WrReport",
        "description": "Interprets the <report/> tag in sledrun pages and creates report summaries",
        "descriptionmsg": "wrreport-description",
        "type": "parserhook",
        },
        "ResourceModules": {
                "ext.wrreport": {
+                       "targets": [
+                               "mobile",
+                               "desktop"
+                       ],
                        "styles": [
                                "wrreport.css"
                        ],
                        "position": "top"
+               },
+               "ext.wrreport.icons": {
+                       "class": "ResourceLoaderImageModule",
+                       "selector": ".mw-ui-icon-wr-{name}:before",
+                       "images": {
+                               "regions": "regions.svg",
+                               "new-reports": "newreports.svg"
+                       }
                }
        },
        "ResourceFileModulePaths": {
@@ -40,7 +52,9 @@
                "WrReportBlackListAll": [],
                "WrReportBlackListStrangers": [],
                "WrReportDeleteMode": "loggedin",
-               "WrReportFeedRoot": "http://www.winterrodeln.org/feed"
+               "WrReportFeedRoot": "https://www.winterrodeln.org/feed",
+               "WrReportEnableIntermaps": true,
+               "WrReportIntermapsValidDays": 1
        },
        "ExtensionMessagesFiles": {
                "wrreportAlias": "wrreport.alias.php"