forked from miraheze/CreateWiki
-
Notifications
You must be signed in to change notification settings - Fork 0
/
extension.json
281 lines (281 loc) · 8.34 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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
{
"name": "CreateWiki",
"author": [
"Southparkfan",
"John Lewis",
"Paladox",
"Universal Omega"
],
"url": "https://github.com/miraheze/CreateWiki",
"descriptionmsg": "createwiki-desc",
"license-name": "GPL-3.0-or-later",
"type": "specialpage",
"requires": {
"MediaWiki": ">= 1.37.0",
"platform": {
"php": ">= 7.4"
}
},
"AvailableRights": [
"createwiki",
"requestwiki"
],
"SpecialPages": {
"CreateWiki": "Miraheze\\CreateWiki\\CreateWiki\\SpecialCreateWiki",
"RequestWiki": "Miraheze\\CreateWiki\\RequestWiki\\SpecialRequestWiki",
"RequestWikiQueue": "Miraheze\\CreateWiki\\RequestWiki\\SpecialRequestWikiQueue"
},
"JobClasses": {
"CreateWikiJob": "Miraheze\\CreateWiki\\CreateWiki\\CreateWikiJob",
"RequestWikiAIJob": "Miraheze\\CreateWiki\\RequestWiki\\RequestWikiAIJob"
},
"LogTypes": [
"farmer"
],
"ActionFilteredLogs": {
"farmer": {
"createwiki": [
"createwiki"
],
"requestaccept": [
"requestaccept"
],
"requestdecline": [
"requestdecline"
],
"requestwiki": [
"requestreopen",
"requestwiki"
]
}
},
"LogActionsHandlers": {
"farmer/createwiki": "LogFormatter",
"farmer/requestaccept": "LogFormatter",
"farmer/requestdecline": "LogFormatter",
"farmer/requestreopen": "LogFormatter",
"farmer/requestwiki": "Miraheze\\CreateWiki\\CreateWiki\\CreateWikiLogFormatter"
},
"MessagesDirs": {
"CreateWiki": [
"i18n"
]
},
"ExtensionMessagesFiles": {
"CreateWikiAliases": "CreateWikiAliases.php"
},
"AutoloadNamespaces": {
"Miraheze\\CreateWiki\\": "includes/"
},
"AutoloadClasses": {
"Miraheze\\CreateWiki\\Maintenance\\DeleteWikis": "maintenance/deleteWikis.php",
"Miraheze\\CreateWiki\\Maintenance\\PopulateMainPage": "maintenance/populateMainPage.php",
"Miraheze\\CreateWiki\\Maintenance\\RenameWiki": "maintenance/renameWiki.php"
},
"TestAutoloadNamespaces": {
"Miraheze\\CreateWiki\\Tests\\": "tests/phpunit/"
},
"Hooks": {
"BeforeCreateEchoEvent": [
"Miraheze\\CreateWiki\\Hooks::onBeforeCreateEchoEvent"
],
"LoadExtensionSchemaUpdates": [
"Miraheze\\CreateWiki\\Hooks::fnCreateWikiSchemaUpdates"
],
"SetupAfterCache": [
"Miraheze\\CreateWiki\\Hooks::onSetupAfterCache"
]
},
"ResourceModules": {
"ext.createwiki.oouiform": {
"scripts": [
"ext.createwiki.oouiform.edit.ooui.js",
"ext.createwiki.oouiform.ooui.js"
],
"styles": "ext.createwiki.oouiform.ooui.less",
"dependencies": [
"oojs-ui",
"mediawiki.editfont.styles"
],
"targets": [ "desktop", "mobile" ]
}
},
"ResourceFileModulePaths": {
"localBasePath": "modules",
"remoteExtPath": "CreateWiki/modules"
},
"config": {
"CreateWikiAIThreshold": {
"description": "Integer. Minimum percentage points for a request to be created when acceptable.",
"public": true,
"value": false
},
"CreateWikiAutoApprovalFilter": {
"description": "Array. Regexes to never auto approve requests if their descriptions match.",
"public": true,
"value": []
},
"CreateWikiDisallowedSubdomains": {
"description": "String or array. Regex to match for disallowed subdomains.",
"public": true,
"value": "/ /"
},
"CreateWikiCannedResponses": {
"description": "Boolean. Array of default responses to give. If this is enabled, free-text options are removed.",
"public": true,
"value": false
},
"CreateWikiCategories": {
"description": "Array. An array of categories used for wiki categorisaion.",
"public": true,
"value": []
},
"CreateWikiCustomDomainPage": {
"description": "String. Page name to link to for more information on custom domains.",
"public": true,
"value": ""
},
"CreateWikiDatabase": {
"description": "String. Database name of where cw_wikis is stored.",
"public": true,
"value": ""
},
"CreateWikiDatabaseClusters": {
"description": "Array. LBFactory clusters which CreateWiki considers active.",
"public": true,
"value": []
},
"CreateWikiDatabaseClustersInactive": {
"description": "Array. LBFactory clusters which are not considered active for use of automatic loadbalancing.",
"public": true,
"value": []
},
"CreateWikiDatabaseSuffix": {
"description": "String. Database suffix.",
"public": true,
"value": "wiki"
},
"CreateWikiPersistentModelFile": {
"description": "String. Location to a file that can be overwritten to contain a persistent machine learning model.",
"public": true,
"value": ""
},
"CreateWikiStateDays": {
"description": "Array. Integer values in days when a wiki is deemed inactive, closed, removed (hidden) and deleted. Number of days passed since last change - not from initial inactivity.",
"public": true,
"value": {
"inactive": 45,
"closed": 15,
"removed": 120,
"deleted": 7
}
},
"CreateWikiGlobalWiki": {
"description": "String. Database name of the global wiki. (Where RequestWiki should be enabled and Special:CreateWiki available.)",
"public": true,
"value": ""
},
"CreateWikiEmailNotifications": {
"description": "Boolean. Whether to send emails for new wiki creations.",
"public": true,
"value": false
},
"CreateWikiNotificationEmail": {
"description": "String. Email address to send internally generated notification emails to. Does not depend on $wgCreateWikiEmailNotifications!",
"public": true,
"value": "root@localhost"
},
"CreateWikiPurposes": {
"description": "Array. List of identified purposes to show when requesting a wiki.",
"public": true,
"value": []
},
"CreateWikiSQLfiles": {
"description": "Array. All SQLs to be loaded into every wiki by default.",
"public": true,
"value": []
},
"CreateWikiShowBiographicalOption": {
"description": "Boolean. Whether to show a biographical person option when requesting a wiki.",
"public": true,
"value": false
},
"CreateWikiSubdomain": {
"description": "String. The master part of subdomains, e.g. wiki.miraheze.org, miraheze.org is the master part.",
"public": true,
"value": ""
},
"CreateWikiUseCategories": {
"description": "Boolean. Whether to use categories to categorise wikis.",
"public": true,
"value": false
},
"CreateWikiUseClosedWikis": {
"description": "Boolean. Whether to implement front end logic for closing wikis.",
"public": true,
"value": false
},
"CreateWikiUseCustomDomains": {
"description": "Boolean. Whether to implement front end logic to handle requesting custom domains for wikis in RequestWiki.",
"public": true,
"value": false
},
"CreateWikiUseEchoNotifications": {
"description": "Boolean. Whether to use Echo notifications (beta feature).",
"public": true,
"value": false
},
"CreateWikiUseInactiveWikis": {
"description": "Boolean. Whether to implement front end logic for inactive wikis.",
"public": true,
"value": false
},
"CreateWikiInactiveExemptReasonOptions": {
"description": "Array. Possible options for marking a wiki as exempt from inactivity.",
"public": true,
"value": []
},
"CreateWikiUseJobQueue": {
"description": "Boolean. Whether to defer intensive tasks to the jobqueue.",
"public": true,
"value": false
},
"CreateWikiUsePrivateWikis": {
"description": "Boolean. Whether to implement front end logic for marking wikis as private.",
"public": true,
"value": false
},
"CreateWikiCollation": {
"description": "String. Sets the collation to use when creating the wiki database. Example is 'DEFAULT SET utf8mb4 COLLATE utf8mb4_unicode_ci'",
"public": true,
"value": ""
},
"CreateWikiCacheDirectory": {
"description": "String. The path to store CreateWiki cache files at.",
"public": true,
"value": ""
},
"CreateWikiUseExperimental": {
"description": "Boolean. Whether to implement front end logic for marking wikis as experimental.",
"public": true,
"value": false
}
},
"ConfigRegistry": {
"createwiki": "GlobalVarConfig::newInstance"
},
"DefaultUserOptions": {
"echo-subscriptions-web-request-comment": true,
"echo-subscriptions-email-request-comment": false,
"echo-subscriptions-web-request-declined": true,
"echo-subscriptions-email-request-declined": true,
"echo-subscriptions-web-wiki-creation": true,
"echo-subscriptions-email-wiki-creation": false
},
"ServiceWiringFiles": [
"includes/ServiceWiring.php"
],
"load_composer_autoloader": true,
"callback": "Miraheze\\CreateWiki\\Hooks::onRegistration",
"manifest_version": 2
}