-
Notifications
You must be signed in to change notification settings - Fork 0
/
extension.json
76 lines (76 loc) · 1.61 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
{
"name": "Apiunto",
"version": "2.0.0",
"author": [
"[https://www.mediawiki.org/wiki/User:Octfx Octfx]"
],
"url": "https://github.com/StarCitizenWiki/Apiunto",
"descriptionmsg": "apiunto-desc",
"license-name": "MIT",
"type": "other",
"requires": {
"MediaWiki": ">= 1.39.0",
"extensions": {
"Scribunto": "*"
},
"platform": {
"php": ">=7.3.19"
}
},
"MessagesDirs": {
"Apiunto": [
"i18n"
]
},
"AutoloadNamespaces": {
"MediaWiki\\Extension\\Apiunto\\": "src/"
},
"config": {
"ApiuntoKey": {
"value": null,
"description": "Api Key which is added to Requests"
},
"ApiuntoUrl": {
"value": null,
"description": "Url to the Api"
},
"ApiuntoTimeout": {
"value": 5,
"description": "Request Timeout in Seconds"
},
"ApiuntoApiVersion": {
"value": "v1",
"description": "Accepted Version"
},
"ApiuntoDefaultLocale": {
"description": "The Locale to return, unset to get all translations",
"value": null
},
"ApiuntoEnableCache": {
"description": "Save api responses in cache",
"value": true
},
"ApiuntoCacheTimes": {
"description": "Specific cache expiries",
"value": {
"Default": 86400,
"comm-links": 31536000,
"starmap/starsystems": 2592000,
"starmap/celestial-objects": 2592000
}
}
},
"HookHandlers": {
"PurgeHooks": {
"class": "MediaWiki\\Extension\\Apiunto\\Hooks\\PurgeHooks",
"services": [
"DBLoadBalancer"
]
}
},
"Hooks": {
"ArticlePurge": "PurgeHooks",
"ScribuntoExternalLibraries": "MediaWiki\\Extension\\Apiunto\\Hooks\\ScribuntoHooks::onScribuntoExternalLibraries"
},
"manifest_version": 2
}