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