{
	"name": "RottenLinks",
	"version": "2.1.0",
	"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.42.0",
		"platform": {
			"php": ">= 8.0"
		}
	},
	"MessagesDirs": {
		"RottenLinks": [
			"i18n"
		]
	},
	"ExtensionMessagesFiles": {
		"RottenLinksAliases": "RottenLinksAliases.php",
		"RottenLinksMagic": "RottenLinksMagic.php"
	},
	"AutoloadNamespaces": {
		"Miraheze\\RottenLinks\\": "includes/"
	},
	"JobClasses": {
		"RottenLinksJob": "Miraheze\\RottenLinks\\RottenLinksJob"
	},
	"SpecialPages": {
		"RottenLinks": {
			"class": "Miraheze\\RottenLinks\\SpecialRottenLinks",
			"services": [
				"ConfigFactory",
				"DBLoadBalancer"
			]
		}
	},
	"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": [
				"JobQueueGroup",
				"ConnectionProvider"
			]
		},
		"Scribunto": {
			"class": "Miraheze\\RottenLinks\\HookHandlers\\Scribunto"
		}
	},
	"config": {
		"RottenLinksBadCodes": {
			"value": [ "0", "400", "401", "403", "404", "405", "410", "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/miraheze/RottenLinks), running on <Wiki base URL>'. (string)"
		}
	},
	"ConfigRegistry": {
		"RottenLinks": "GlobalVarConfig::newInstance"
	},
	"manifest_version": 2
}
