-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathextension.json
93 lines (93 loc) · 2.38 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
{
"name": "RottenLinks",
"version": "2.0.1",
"author": [
"John Lewis",
"Paladox",
"Universal Omega"
],
"url": "https://github.com/WikiForge/RottenLinks",
"descriptionmsg": "rottenlinks-desc",
"namemsg": "rottenlinks-extensionname",
"license-name": "GPL-3.0-or-later",
"type": "specialpage",
"requires": {
"MediaWiki": ">= 1.40.0"
},
"MessagesDirs": {
"RottenLinks": [
"i18n"
]
},
"ExtensionMessagesFiles": {
"RottenLinksAliases": "RottenLinksAliases.php"
},
"AutoloadNamespaces": {
"WikiForge\\RottenLinks\\": "includes/"
},
"JobClasses": {
"RottenLinksJob": "WikiForge\\RottenLinks\\RottenLinksJob"
},
"SpecialPages": {
"RottenLinks": {
"class": "WikiForge\\RottenLinks\\SpecialRottenLinks",
"services": [
"ConfigFactory",
"DBLoadBalancer"
]
}
},
"Hooks": {
"LinksUpdateComplete": {
"handler": "Main"
},
"LoadExtensionSchemaUpdates": {
"handler": "Installer"
}
},
"HookHandlers": {
"Installer": {
"class": "WikiForge\\RottenLinks\\HookHandlers\\Installer"
},
"Main": {
"class": "WikiForge\\RottenLinks\\HookHandlers\\Main",
"services": [
"JobQueueGroup"
]
}
},
"config": {
"RottenLinksBadCodes": {
"value": [ "0", "400", "401", "403", "404", "405", "502", "503", "504" ],
"description": "Holds a list of HTTP codes that are considered bad. (array)"
},
"RottenLinksCurlTimeout": {
"value": 30,
"description": "Sets the timeout for cURL in seconds. (integer)"
},
"RottenLinksHTTPProxy": {
"value": "",
"description": "Sets a proxy to use for requests. (string)"
},
"RottenLinksExcludeProtocols": {
"value": [ "tel", "mailto" ],
"description": "Holds a list of protocols that should not be checked for validity. (array)"
},
"RottenLinksExcludeWebsites": {
"value": false,
"description": "List of websites to exclude checking of response codes for. (array)"
},
"RottenLinksExternalLinkTarget": {
"value": "_self",
"description": "Sets the external link target (_self for the current tab or _blank for a new tab). (string)"
},
"RottenLinksUserAgent": {
"value": "",
"description": "Overrides the user-agent to use for requests. Defaults to 'RottenLinks, MediaWiki extension (https://github.com/WikiForge/RottenLinks), running on <Wiki base URL>'. (string)"
}
},
"ConfigRegistry": {
"RottenLinks": "GlobalVarConfig::newInstance"
},
"manifest_version": 2
}