{
	"name": "Thanks",
	"version": "1.2.0",
	"author": [
		"Ryan Kaldari",
		"Benjamin Chen",
		"Wctaiwan"
	],
	"url": "https://www.mediawiki.org/wiki/Extension:Thanks",
	"descriptionmsg": "thanks-desc",
	"license-name": "MIT",
	"type": "other",
	"requires": {
		"MediaWiki": ">= 1.45",
		"extensions": {
			"Echo": "*"
		}
	},
	"DefaultUserOptions": {
		"echo-subscriptions-web-edit-thank": true,
		"echo-subscriptions-email-edit-thank": false
	},
	"RateLimits": {
		"thanks-notification": {
			"user": [
				10,
				60
			]
		}
	},
	"SpecialPages": {
		"Thanks": {
			"class": "MediaWiki\\Extension\\Thanks\\SpecialThanks",
			"services": [
				"UserFactory"
			]
		}
	},
	"LogTypes": [
		"thanks"
	],
	"FilterLogTypes": {
		"thanks": true
	},
	"LogActionsHandlers": {
		"thanks/*": {
			"class": "MediaWiki\\Extension\\Thanks\\ThanksLogFormatter",
			"services": [
				"NamespaceInfo",
				"UserFactory"
			]
		}
	},
	"APIModules": {
		"thank": {
			"class": "MediaWiki\\Extension\\Thanks\\Api\\ApiCoreThank",
			"services": [
				"PermissionManager",
				"ThanksLogStore",
				"NotificationService",
				"RevisionStore",
				"UserFactory"
			]
		}
	},
	"MessagesDirs": {
		"Thanks": [
			"i18n",
			"i18n/api"
		]
	},
	"ExtensionMessagesFiles": {
		"ThanksAlias": "Thanks.alias.php"
	},
	"AutoloadNamespaces": {
		"MediaWiki\\Extension\\Thanks\\": "includes/"
	},
	"ResourceModules": {
		"ext.thanks": {
			"scripts": [
				"ext.thanks.thank.js"
			],
			"dependencies": [
				"mediawiki.cookie",
				"mediawiki.api"
			]
		},
		"ext.thanks.corethank": {
			"scripts": [
				"ext.thanks.corethank.js"
			],
			"messages": [
				"thanks-thanked",
				"thanks-error-undefined",
				"thanks-error-invalidrevision",
				"thanks-error-ratelimited",
				"thanks-error-revdeleted",
				"thanks-confirmation2",
				"thanks-thank-tooltip-no",
				"thanks-thank-tooltip-yes",
				"thanks-button-thank",
				"cancel"
			],
			"dependencies": [
				"oojs-ui-core",
				"oojs-ui-windows",
				"mediawiki.jqueryMsg",
				"mediawiki.api",
				"jquery.confirmable",
				"ext.thanks"
			]
		},
		"ext.thanks.flowthank": {
			"scripts": [
				"jquery.findWithParent.js",
				"ext.thanks.flowthank.js"
			],
			"messages": [
				"thanks-button-thanked",
				"thanks-error-undefined",
				"thanks-error-ratelimited"
			],
			"dependencies": [
				"oojs-ui-core",
				"oojs-ui-windows",
				"mediawiki.jqueryMsg",
				"mediawiki.api",
				"ext.thanks"
			]
		}
	},
	"ResourceFileModulePaths": {
		"localBasePath": "modules",
		"remoteExtPath": "Thanks/modules"
	},
	"QUnitTestModule": {
		"localBasePath": "tests/qunit",
		"remoteExtPath": "Thanks/tests/qunit",
		"scripts": [
			"test_ext.thanks.thank.js"
		],
		"dependencies": [
			"ext.thanks"
		]
	},
	"Hooks": {
		"ApiMain::moduleManager": "main",
		"BeforeCreateEchoEvent": "echo",
		"BeforePageDisplay": "main",
		"DiffTools": "main",
		"DifferenceEngineViewHeader": "main",
		"EchoGetBundleRules": "echo",
		"GetAllBlockActions": "main",
		"GetLogTypesOnUser": "main",
		"HistoryTools": "main",
		"LocalUserCreated": "main",
		"LogEventsListLineEnding": "main",
		"PageHistoryBeforeList": "main",
		"PageHistoryPager::doBatchLookups": "main",
		"ChangesListInitRows": "main"
	},
	"HookHandlers": {
		"main": {
			"class": "MediaWiki\\Extension\\Thanks\\Hooks",
			"services": [
				"MainConfig",
				"GenderCache",
				"PermissionManager",
				"RevisionLookup",
				"UserFactory",
				"UserOptionsManager"
			]
		},
		"echo": {
			"class": "MediaWiki\\Extension\\Thanks\\EchoHooks"
		}
	},
	"ServiceWiringFiles": [
		"ServiceWiring.php"
	],
	"config": {
		"ThanksSendToBots": {
			"value": false
		},
		"ThanksLogging": {
			"value": true
		},
		"ThanksConfirmationRequired": {
			"value": true
		},
		"ThanksAllowedLogTypes": {
			"value": [
				"abusefilter",
				"contentmodel",
				"create",
				"delete",
				"gblrename",
				"gblrights",
				"import",
				"merge",
				"move",
				"pagelang",
				"pagetranslation",
				"patrol",
				"protect",
				"renameuser",
				"stable",
				"tag",
				"upload",
				"managetags",
				"rights/rights",
				"lock"
			]
		}
	},
	"attributes": {
		"Echo": {
			"NotificationCategories": {
				"edit-thank": {
					"priority": 3,
					"title": "echo-category-title-edit-thank",
					"tooltip": "echo-pref-tooltip-edit-thank"
				}
			},
			"Notifications": {
				"edit-thank": {
					"category": "edit-thank",
					"group": "positive",
					"section": "message",
					"presentation-model": "MediaWiki\\Extension\\Thanks\\EchoCoreThanksPresentationModel",
					"bundle": {
						"web": true,
						"expandable": true
					}
				},
				"flow-thank": {
					"category": "edit-thank",
					"group": "positive",
					"section": "message",
					"presentation-model": "MediaWiki\\Extension\\Thanks\\EchoFlowThanksPresentationModel",
					"bundle": {
						"web": true,
						"expandable": true
					}
				}
			},
			"NotificationIcons": {
				"thanks": {
					"path": {
						"ltr": "Thanks/modules/userTalk-constructive-ltr.svg",
						"rtl": "Thanks/modules/userTalk-constructive-rtl.svg"
					}
				}
			}
		}
	},
	"manifest_version": 2
}
