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": {
|
2021-02-11 19:28:29 +00:00
|
|
|
"MediaWiki": ">= 1.36.0",
|
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": {
|
2021-03-14 03:43:32 +00:00
|
|
|
"Thanks": "MediaWiki\\Extension\\Thanks\\SpecialThanks"
|
2016-01-07 06:40:50 +00:00
|
|
|
},
|
|
|
|
"LogTypes": [
|
|
|
|
"thanks"
|
|
|
|
],
|
|
|
|
"FilterLogTypes": {
|
|
|
|
"thanks": true
|
|
|
|
},
|
|
|
|
"LogActionsHandlers": {
|
2021-03-14 03:43:32 +00:00
|
|
|
"thanks/*": "MediaWiki\\Extension\\Thanks\\ThanksLogFormatter"
|
2016-01-07 06:40:50 +00:00
|
|
|
},
|
|
|
|
"APIModules": {
|
2021-03-14 03:43:32 +00:00
|
|
|
"thank": "MediaWiki\\Extension\\Thanks\\ApiCoreThank"
|
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": {
|
2018-06-13 23:44:50 +00:00
|
|
|
"ext.thanks.images": {
|
|
|
|
"class": "ResourceLoaderImageModule",
|
2019-09-13 18:32:59 +00:00
|
|
|
"selector": ".mw-ui-icon-thanks-{name}:before",
|
2018-06-13 23:44:50 +00:00
|
|
|
"defaultColor": "#fff",
|
|
|
|
"images": {
|
|
|
|
"userTalk": {
|
|
|
|
"file": {
|
2018-08-16 17:18:00 +00:00
|
|
|
"ltr": "userTalk-ltr.svg",
|
|
|
|
"rtl": "userTalk-rtl.svg"
|
2018-06-13 23:44:50 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2016-01-07 06:40:50 +00:00
|
|
|
"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.mobilediff": {
|
|
|
|
"scripts": [
|
|
|
|
"ext.thanks.mobilediff.js"
|
|
|
|
],
|
|
|
|
"messages": [
|
2018-06-27 23:12:28 +00:00
|
|
|
"thanks-button-action-queued",
|
|
|
|
"thanks-button-action-cancel",
|
|
|
|
"thanks-button-action-completed",
|
2016-01-07 06:40:50 +00:00
|
|
|
"thanks-button-thank",
|
|
|
|
"thanks-button-thanked",
|
|
|
|
"thanks-error-invalidrevision",
|
|
|
|
"thanks-error-ratelimited",
|
|
|
|
"thanks-error-undefined",
|
|
|
|
"thanks-thanked-notice"
|
|
|
|
],
|
|
|
|
"dependencies": [
|
2019-09-13 18:32:59 +00:00
|
|
|
"mobile.startup",
|
2018-06-13 23:44:50 +00:00
|
|
|
"ext.thanks.images",
|
2016-01-07 06:40:50 +00:00
|
|
|
"mediawiki.api",
|
2020-04-22 17:34:06 +00:00
|
|
|
"mediawiki.jqueryMsg"
|
2016-01-07 06:40:50 +00:00
|
|
|
],
|
|
|
|
"targets": [
|
|
|
|
"desktop",
|
|
|
|
"mobile"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"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": [
|
|
|
|
"test_ext.thanks.thank.js",
|
|
|
|
"test_ext.thanks.mobilediff.js"
|
|
|
|
],
|
|
|
|
"dependencies": [
|
|
|
|
"ext.thanks",
|
|
|
|
"ext.thanks.mobilediff"
|
|
|
|
]
|
|
|
|
},
|
2016-01-07 06:40:50 +00:00
|
|
|
"Hooks": {
|
2021-03-14 03:43:32 +00:00
|
|
|
"ApiMain::moduleManager": "MediaWiki\\Extension\\Thanks\\Hooks::onApiMainModuleManager",
|
|
|
|
"BeforeCreateEchoEvent": "MediaWiki\\Extension\\Thanks\\Hooks::onBeforeCreateEchoEvent",
|
|
|
|
"BeforePageDisplay": "MediaWiki\\Extension\\Thanks\\Hooks::onBeforePageDisplay",
|
|
|
|
"BeforeSpecialMobileDiffDisplay": "MediaWiki\\Extension\\Thanks\\Hooks::onBeforeSpecialMobileDiffDisplay",
|
|
|
|
"DiffTools": "MediaWiki\\Extension\\Thanks\\Hooks::insertThankLink",
|
|
|
|
"DifferenceEngineViewHeader": "MediaWiki\\Extension\\Thanks\\Hooks::onDifferenceEngineViewHeader",
|
|
|
|
"EchoGetBundleRules": "MediaWiki\\Extension\\Thanks\\Hooks::onEchoGetBundleRules",
|
|
|
|
"EchoGetDefaultNotifiedUsers": "MediaWiki\\Extension\\Thanks\\Hooks::onEchoGetDefaultNotifiedUsers",
|
2021-04-20 15:41:21 +00:00
|
|
|
"GetAllBlockActions": "MediaWiki\\Extension\\Thanks\\Hooks::onGetAllBlockActions",
|
2021-03-14 03:43:32 +00:00
|
|
|
"GetLogTypesOnUser": "MediaWiki\\Extension\\Thanks\\Hooks::onGetLogTypesOnUser",
|
|
|
|
"HistoryTools": "MediaWiki\\Extension\\Thanks\\Hooks::insertThankLink",
|
|
|
|
"LocalUserCreated": "MediaWiki\\Extension\\Thanks\\Hooks::onAccountCreated",
|
|
|
|
"LogEventsListLineEnding": "MediaWiki\\Extension\\Thanks\\Hooks::onLogEventsListLineEnding",
|
|
|
|
"PageHistoryBeforeList": "MediaWiki\\Extension\\Thanks\\Hooks::onPageHistoryBeforeList"
|
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",
|
|
|
|
"rights",
|
|
|
|
"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
|
|
|
}
|