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