Add icons in MobileMenuHook.
[philipp/winterrodeln/mediawiki_extensions/wrreport.git] / extension.json
index b5dc2d61c1fcfad5ef008231047d5ba0739de3db..806d7bbf0f4dcabb1862ede31897837e35ee2933 100644 (file)
        },
        "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": "https://www.winterrodeln.org/feed"
+               "WrReportFeedRoot": "https://www.winterrodeln.org/feed",
+               "WrReportEnableIntermaps": true,
+               "WrReportIntermapsValidDays": 1
        },
        "ExtensionMessagesFiles": {
                "wrreportAlias": "wrreport.alias.php"