Repair mobile menu (icons not shown yet).
[philipp/winterrodeln/mediawiki_extensions/wrreport.git] / extension.json
1 {
2         "name": "Winterrodeln Report",
3         "version": "3.1.0",
4         "author": "Philipp Spitzer",
5         "url": "https://www.winterrodeln.org/trac/wiki/WrReport",
6         "description": "Interprets the <report/> tag in sledrun pages and creates report summaries",
7         "descriptionmsg": "wrreport-description",
8         "type": "parserhook",
9         "SpecialPages": {
10                 "wrreport": "SpecialWrReport"
11         },
12         "MessagesDirs": {
13                 "wrreport": [
14                         "i18n"
15                 ]
16         },
17         "AutoloadClasses": {
18                 "SpecialWrReport": "wrreport_body.php",
19                 "WrReport": "wrreport_body.php",
20                 "Services_Libravatar": "libravatar.php"
21         },
22         "ResourceModules": {
23                 "ext.wrreport": {
24                         "targets": [
25                                 "mobile",
26                                 "desktop"
27                         ],
28                         "styles": [
29                                 "wrreport.css"
30                         ],
31                         "position": "top"
32                 },
33                 "ext.wrreport.icons": {
34                         "class": "ResourceLoaderImageModule",
35                         "selector": ".mw-ui-icon-wr-{name}:before",
36                         "images": {
37                                 "regions": "regions.svg",
38                                 "new-reports": "newreports.svg"
39                         }
40                 }
41         },
42         "ResourceFileModulePaths": {
43                 "localBasePath": "",
44                 "remoteExtPath": "wrreport"
45         },
46         "Hooks": {
47                 "ParserFirstCallInit": "WrReport::ParserFirstCallInitHook",
48                 "MobileMenu": "WrReport::MobileMenuHook"
49         },
50         "config": {
51                 "WrReportMode": "allow",
52                 "WrReportBlackListAll": [],
53                 "WrReportBlackListStrangers": [],
54                 "WrReportDeleteMode": "loggedin",
55                 "WrReportFeedRoot": "https://www.winterrodeln.org/feed",
56                 "WrReportEnableIntermaps": true,
57                 "WrReportIntermapsValidDays": 1
58         },
59         "ExtensionMessagesFiles": {
60                 "wrreportAlias": "wrreport.alias.php"
61         },
62         "manifest_version": 1
63 }