2016-01-07 06:40:50 +00:00
|
|
|
{
|
|
|
|
"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",
|
2018-04-11 08:00:30 +00:00
|
|
|
"requires": {
|
2024-01-04 21:22:56 +00:00
|
|
|
"MediaWiki": ">= 1.42",
|
2018-04-11 08:00:30 +00:00
|
|
|
"extensions": {
|
|
|
|
"Echo": "*"
|
|
|
|
}
|
|
|
|
},
|
2016-01-07 06:40:50 +00:00
|
|
|
"DefaultUserOptions": {
|
|
|
|
"echo-subscriptions-web-edit-thank": true,
|
|
|
|
"echo-subscriptions-email-edit-thank": false
|
|
|
|
},
|
|
|
|
"RateLimits": {
|
|
|
|
"thanks-notification": {
|
|
|
|
"user": [
|
|
|
|
10,
|
|
|
|
60
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"SpecialPages": {
|
2023-05-20 11:51:09 +00:00
|
|
|
"Thanks": {
|
|
|
|
"class": "MediaWiki\\Extension\\Thanks\\SpecialThanks",
|
2023-08-19 06:10:04 +00:00
|
|
|
"services": [
|
|
|
|
"UserFactory"
|
|
|
|
]
|
2023-05-20 11:51:09 +00:00
|
|
|
}
|
2016-01-07 06:40:50 +00:00
|
|
|
},
|
|
|
|
"LogTypes": [
|
|
|
|
"thanks"
|
|
|
|
],
|
|
|
|
"FilterLogTypes": {
|
|
|
|
"thanks": true
|
|
|
|
},
|
|
|
|
"LogActionsHandlers": {
|
2024-07-14 20:55:48 +00:00
|
|
|
"thanks/*": {
|
|
|
|
"class": "MediaWiki\\Extension\\Thanks\\ThanksLogFormatter",
|
|
|
|
"services": [
|
|
|
|
"NamespaceInfo"
|
|
|
|
]
|
|
|
|
}
|
2016-01-07 06:40:50 +00:00
|
|
|
},
|
|
|
|
"APIModules": {
|
2023-05-19 11:38:58 +00:00
|
|
|
"thank": {
|
|
|
|
"class": "MediaWiki\\Extension\\Thanks\\Api\\ApiCoreThank",
|
|
|
|
"services": [
|
|
|
|
"PermissionManager",
|
|
|
|
"RevisionStore",
|
|
|
|
"UserFactory",
|
2023-05-26 13:02:42 +00:00
|
|
|
"ThanksLogStore"
|
2023-05-19 11:38:58 +00:00
|
|
|
]
|
|
|
|
}
|
2016-01-07 06:40:50 +00:00
|
|
|
},
|
|
|
|
"MessagesDirs": {
|
|
|
|
"Thanks": [
|
2018-11-18 15:55:46 +00:00
|
|
|
"i18n",
|
|
|
|
"i18n/api"
|
2016-01-07 06:40:50 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"ExtensionMessagesFiles": {
|
|
|
|
"ThanksAlias": "Thanks.alias.php"
|
|
|
|
},
|
2021-03-14 03:43:32 +00:00
|
|
|
"AutoloadNamespaces": {
|
|
|
|
"MediaWiki\\Extension\\Thanks\\": "includes/"
|
2016-01-07 06:40:50 +00:00
|
|
|
},
|
|
|
|
"ResourceModules": {
|
|
|
|
"ext.thanks": {
|
|
|
|
"scripts": [
|
|
|
|
"ext.thanks.thank.js"
|
2017-06-27 13:28:12 +00:00
|
|
|
],
|
|
|
|
"dependencies": [
|
2020-05-29 19:43:31 +00:00
|
|
|
"mediawiki.cookie",
|
2017-06-27 13:28:12 +00:00
|
|
|
"mediawiki.api"
|
2016-01-07 06:40:50 +00:00
|
|
|
]
|
|
|
|
},
|
2018-02-21 03:46:30 +00:00
|
|
|
"ext.thanks.corethank": {
|
2016-01-07 06:40:50 +00:00
|
|
|
"scripts": [
|
2018-02-21 03:46:30 +00:00
|
|
|
"ext.thanks.corethank.js"
|
2016-01-07 06:40:50 +00:00
|
|
|
],
|
|
|
|
"messages": [
|
|
|
|
"thanks-thanked",
|
|
|
|
"thanks-error-undefined",
|
|
|
|
"thanks-error-invalidrevision",
|
|
|
|
"thanks-error-ratelimited",
|
2018-03-02 05:37:16 +00:00
|
|
|
"thanks-error-revdeleted",
|
2016-01-07 06:40:50 +00:00
|
|
|
"thanks-confirmation2",
|
|
|
|
"thanks-thank-tooltip-no",
|
|
|
|
"thanks-thank-tooltip-yes",
|
2018-01-20 01:06:48 +00:00
|
|
|
"thanks-button-thank",
|
2016-01-07 06:40:50 +00:00
|
|
|
"cancel"
|
|
|
|
],
|
|
|
|
"dependencies": [
|
2016-07-15 15:16:08 +00:00
|
|
|
"oojs-ui-core",
|
|
|
|
"oojs-ui-windows",
|
2016-01-07 06:40:50 +00:00
|
|
|
"mediawiki.jqueryMsg",
|
|
|
|
"mediawiki.api",
|
|
|
|
"jquery.confirmable",
|
|
|
|
"ext.thanks"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"ext.thanks.flowthank": {
|
|
|
|
"scripts": [
|
2019-08-05 15:08:17 +00:00
|
|
|
"jquery.findWithParent.js",
|
2016-01-07 06:40:50 +00:00
|
|
|
"ext.thanks.flowthank.js"
|
|
|
|
],
|
|
|
|
"messages": [
|
|
|
|
"thanks-button-thanked",
|
|
|
|
"thanks-error-undefined",
|
|
|
|
"thanks-error-ratelimited"
|
|
|
|
],
|
|
|
|
"dependencies": [
|
2016-07-15 15:16:08 +00:00
|
|
|
"oojs-ui-core",
|
|
|
|
"oojs-ui-windows",
|
2016-01-07 06:40:50 +00:00
|
|
|
"mediawiki.jqueryMsg",
|
|
|
|
"mediawiki.api",
|
|
|
|
"ext.thanks"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"ResourceFileModulePaths": {
|
|
|
|
"localBasePath": "modules",
|
|
|
|
"remoteExtPath": "Thanks/modules"
|
|
|
|
},
|
2020-05-11 21:25:00 +00:00
|
|
|
"QUnitTestModule": {
|
2020-05-11 19:36:26 +00:00
|
|
|
"localBasePath": "tests/qunit",
|
|
|
|
"remoteExtPath": "Thanks/tests/qunit",
|
|
|
|
"scripts": [
|
2024-03-19 00:13:47 +00:00
|
|
|
"test_ext.thanks.thank.js"
|
2020-05-11 19:36:26 +00:00
|
|
|
],
|
|
|
|
"dependencies": [
|
2024-03-19 00:13:47 +00:00
|
|
|
"ext.thanks"
|
2020-05-11 19:36:26 +00:00
|
|
|
]
|
|
|
|
},
|
2016-01-07 06:40:50 +00:00
|
|
|
"Hooks": {
|
2023-09-28 21:14:29 +00:00
|
|
|
"ApiMain::moduleManager": "main",
|
2024-04-04 14:15:30 +00:00
|
|
|
"BeforeCreateEchoEvent": "echo",
|
2023-09-28 21:14:29 +00:00
|
|
|
"BeforePageDisplay": "main",
|
|
|
|
"DiffTools": "main",
|
|
|
|
"DifferenceEngineViewHeader": "main",
|
2024-04-04 14:15:30 +00:00
|
|
|
"EchoGetBundleRules": "echo",
|
2023-09-28 21:14:29 +00:00
|
|
|
"GetAllBlockActions": "main",
|
|
|
|
"GetLogTypesOnUser": "main",
|
|
|
|
"HistoryTools": "main",
|
|
|
|
"LocalUserCreated": "main",
|
|
|
|
"LogEventsListLineEnding": "main",
|
2024-06-11 20:04:27 +00:00
|
|
|
"PageHistoryBeforeList": "main",
|
|
|
|
"PageHistoryPager::doBatchLookups": "main",
|
|
|
|
"ChangesListInitRows": "main"
|
2023-09-28 21:14:29 +00:00
|
|
|
},
|
|
|
|
"HookHandlers": {
|
|
|
|
"main": {
|
2023-11-07 21:55:06 +00:00
|
|
|
"class": "MediaWiki\\Extension\\Thanks\\Hooks",
|
|
|
|
"services": [
|
|
|
|
"MainConfig",
|
|
|
|
"GenderCache",
|
|
|
|
"PermissionManager",
|
|
|
|
"RevisionLookup",
|
|
|
|
"UserFactory",
|
|
|
|
"UserOptionsManager"
|
|
|
|
]
|
2023-11-16 14:40:45 +00:00
|
|
|
},
|
2024-04-04 14:15:30 +00:00
|
|
|
"echo": {
|
|
|
|
"class": "MediaWiki\\Extension\\Thanks\\EchoHooks"
|
2023-09-28 21:14:29 +00:00
|
|
|
}
|
2016-01-07 06:40:50 +00:00
|
|
|
},
|
2022-12-13 19:39:55 +00:00
|
|
|
"ServiceWiringFiles": [
|
|
|
|
"ServiceWiring.php"
|
|
|
|
],
|
2016-01-07 06:40:50 +00:00
|
|
|
"config": {
|
2020-05-12 01:05:37 +00:00
|
|
|
"ThanksSendToBots": {
|
|
|
|
"value": false
|
|
|
|
},
|
|
|
|
"ThanksLogging": {
|
|
|
|
"value": true
|
|
|
|
},
|
|
|
|
"ThanksConfirmationRequired": {
|
|
|
|
"value": true
|
|
|
|
},
|
2021-03-20 04:43:13 +00:00
|
|
|
"ThanksAllowedLogTypes": {
|
2020-05-12 01:05:37 +00:00
|
|
|
"value": [
|
|
|
|
"contentmodel",
|
|
|
|
"create",
|
|
|
|
"delete",
|
|
|
|
"import",
|
|
|
|
"merge",
|
|
|
|
"move",
|
2019-03-16 21:55:57 +00:00
|
|
|
"pagelang",
|
2020-05-12 01:05:37 +00:00
|
|
|
"patrol",
|
|
|
|
"protect",
|
|
|
|
"tag",
|
2019-03-16 21:55:57 +00:00
|
|
|
"upload",
|
2020-05-12 01:05:37 +00:00
|
|
|
"managetags",
|
2022-08-22 12:35:05 +00:00
|
|
|
"rights/rights",
|
2020-05-12 01:05:37 +00:00
|
|
|
"lock"
|
|
|
|
]
|
|
|
|
}
|
2016-01-07 06:40:50 +00:00
|
|
|
},
|
2020-05-12 01:05:37 +00:00
|
|
|
"manifest_version": 2
|
2016-01-07 06:40:50 +00:00
|
|
|
}
|