Add note on what to do if a new database is created.
[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                 "BeforePageDisplayMobile": "WrReport::BeforePageDisplayMobileHook",
49                 "MobileMenu": "WrReport::MobileMenuHook"
50         },
51         "config": {
52                 "WrReportMode": {
53                         "value": "allow"
54                 },
55                 "WrReportBlackListAll": {
56                         "value": []
57                 },
58                 "WrReportBlackListStrangers": {
59                         "value": []
60                 },
61                 "WrReportDeleteMode": {
62                         "value": "loggedin"
63                 },
64                 "WrReportFeedRoot": {
65                         "value": "https://www.winterrodeln.org/feed"
66                 },
67                 "WrReportEnableIntermaps": {
68                         "value": true
69                 },
70                 "WrReportIntermapsValidDays": {
71                         "value": 1
72                 }
73         },
74         "ExtensionMessagesFiles": {
75                 "wrreportAlias": "wrreport.alias.php"
76         },
77         "manifest_version": 2,
78         "requires": {
79                 "MediaWiki": ">= 1.29.0"
80         }
81 }