-
-
Notifications
You must be signed in to change notification settings - Fork 11
/
extension.json
138 lines (138 loc) · 3.41 KB
/
extension.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
{
"name": "MatomoAnalytics",
"author": [
"John Lewis",
"Southparkfan",
"Universal Omega",
"Agent Isai"
],
"url": "https://github.com/miraheze/MatomoAnalytics",
"version": "1.3.3",
"descriptionmsg": "matomoanalytics-desc",
"license-name": "GPL-3.0-or-later",
"type": "specialpage",
"requires": {
"MediaWiki": ">= 1.42.0"
},
"AvailableRights": [
"noanalytics",
"viewanalytics"
],
"GroupPermissions": {
"*": {
"viewanalytics": true
}
},
"MessagesDirs": {
"MatomoAnalytics": [
"i18n"
]
},
"ExtensionMessagesFiles": {
"MatomoAnalyticsAliases": "MatomoAnalyticsAliases.php"
},
"AutoloadNamespaces": {
"Miraheze\\MatomoAnalytics\\": "includes/",
"Miraheze\\MatomoAnalytics\\Maintenance\\": "maintenance/"
},
"SpecialPages": {
"Analytics": {
"class": "Miraheze\\MatomoAnalytics\\Specials\\SpecialAnalytics"
}
},
"Hooks": {
"CreateWikiCreation": {
"handler": "CreateWiki"
},
"CreateWikiDeletion": {
"handler": "CreateWiki"
},
"CreateWikiRename": {
"handler": "CreateWiki"
},
"LoadExtensionSchemaUpdates": {
"handler": "Installer"
},
"InfoAction": {
"handler": "Main"
},
"SkinAfterBottomScripts": {
"handler": "Main"
}
},
"HookHandlers": {
"CreateWiki": {
"class": "Miraheze\\MatomoAnalytics\\HookHandlers\\CreateWiki"
},
"Installer": {
"class": "Miraheze\\MatomoAnalytics\\HookHandlers\\Installer"
},
"Main": {
"class": "Miraheze\\MatomoAnalytics\\HookHandlers\\Main"
}
},
"ResourceModules": {
"ext.matomoanalytics.charts": {
"scripts": "ext.matomoanalytics.charts.js"
},
"ext.matomoanalytics.graphs": {
"scripts": "ext.matomoanalytics.graphs.js"
},
"ext.matomoanalytics.special": {
"styles": "ext.matomoanalytics.special.less"
}
},
"ResourceFileModulePaths": {
"localBasePath": "modules",
"remoteExtPath": "MatomoAnalytics/modules"
},
"config": {
"MatomoAnalyticsDisableJS": {
"description": "Boolean. Whether or not to add Javascript tracking code to pages.",
"public": true,
"value": false
},
"MatomoAnalyticsDisableCookie": {
"description": "Boolean. Whether or not to disable cookies being set by Matomo.",
"public": true,
"value": false
},
"MatomoAnalyticsForceGetRequest": {
"description": "Boolean. Whether or not you want to foce GET requests which also disables beacon. Reverts back to Matomo v3 tracking behavior.",
"public": true,
"value": false
},
"MatomoAnalyticsGlobalID": {
"description": "Integer. If tracking more than one site, this is an ID to attach to all wikis for central aggregate statistics.",
"public": true,
"value": false
},
"MatomoAnalyticsServerURL": {
"description": "String. URL of the Matomo installation to use for API queries.",
"public": true,
"value": false
},
"MatomoAnalyticsSiteID": {
"description": "Integer. If not using database, the site number to add all monitoring to.",
"public": true,
"value": 1
},
"MatomoAnalyticsTokenAuth": {
"description": "String. The API token for authentication when making requests for data.",
"public": false,
"value": false
},
"MatomoAnalyticsUseDB": {
"description": "Boolean. Whether or not to use the database for tracking site IDs.",
"public": true,
"value": false
}
},
"ConfigRegistry": {
"MatomoAnalytics": "MediaWiki\\Config\\GlobalVarConfig::newInstance"
},
"DatabaseVirtualDomains": [
"virtual-matomoanalytics"
],
"manifest_version": 2
}