Repair mobile menu (icons not shown yet).
[philipp/winterrodeln/mediawiki_extensions/wrreport.git] / extension.json
index 315a4fcbf4ca4c5870c99c8415d489d236b717b5..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": {
@@ -41,7 +53,8 @@
                "WrReportBlackListStrangers": [],
                "WrReportDeleteMode": "loggedin",
                "WrReportFeedRoot": "https://www.winterrodeln.org/feed",
-               "WrReportEnableIntermaps": true
+               "WrReportEnableIntermaps": true,
+               "WrReportIntermapsValidDays": 1
        },
        "ExtensionMessagesFiles": {
                "wrreportAlias": "wrreport.alias.php"