2019-10-10 13:25:11 +00:00
|
|
|
{
|
|
|
|
"name": "DiscussionTools",
|
|
|
|
"license-name": "MIT",
|
|
|
|
"version": "0.0.0",
|
2019-12-11 23:52:40 +00:00
|
|
|
"url": "https://www.mediawiki.org/wiki/Extension:DiscussionTools",
|
2019-10-10 13:25:11 +00:00
|
|
|
"namemsg": "discussiontools",
|
|
|
|
"descriptionmsg": "discussiontools-desc",
|
2019-10-12 16:12:39 +00:00
|
|
|
"manifest_version": 2,
|
|
|
|
"requires": {
|
2020-04-02 18:17:21 +00:00
|
|
|
"MediaWiki": ">= 1.35.0",
|
2019-10-12 15:59:18 +00:00
|
|
|
"extensions": {
|
2020-05-20 12:12:33 +00:00
|
|
|
"VisualEditor": ">= 0.1.2",
|
2020-06-02 23:00:59 +00:00
|
|
|
"Linter": "*"
|
2019-10-12 15:59:18 +00:00
|
|
|
}
|
2019-10-12 16:12:39 +00:00
|
|
|
},
|
2019-10-10 13:25:11 +00:00
|
|
|
"MessagesDirs": {
|
2020-06-29 13:30:47 +00:00
|
|
|
"DiscussionTools": [
|
|
|
|
"i18n",
|
|
|
|
"i18n/api"
|
|
|
|
]
|
2019-10-10 13:25:11 +00:00
|
|
|
},
|
2020-05-14 22:44:49 +00:00
|
|
|
"callback": "\\MediaWiki\\Extension\\DiscussionTools\\Hooks::onRegistration",
|
2019-10-10 13:25:11 +00:00
|
|
|
"ResourceFileModulePaths": {
|
|
|
|
"localBasePath": "modules",
|
|
|
|
"remoteExtPath": "DiscussionTools/modules"
|
|
|
|
},
|
|
|
|
"ResourceModules": {
|
2020-09-16 12:07:27 +00:00
|
|
|
"ext.discussionTools.init.styles": {
|
|
|
|
"styles": "dt.init.less"
|
|
|
|
},
|
2020-02-25 02:10:27 +00:00
|
|
|
"ext.discussionTools.init": {
|
2019-11-05 13:55:01 +00:00
|
|
|
"packageFiles": [
|
2020-02-25 02:10:27 +00:00
|
|
|
"dt.init.js",
|
2019-11-05 14:07:50 +00:00
|
|
|
"controller.js",
|
2020-03-10 13:03:45 +00:00
|
|
|
{
|
2020-02-25 02:10:27 +00:00
|
|
|
"name": "controller/contLangMessages.json",
|
2020-05-14 22:44:49 +00:00
|
|
|
"callback": "\\MediaWiki\\Extension\\DiscussionTools\\Data::getContentLanguageMessages",
|
2020-03-10 13:03:45 +00:00
|
|
|
"callbackParam": [
|
2020-04-07 14:33:32 +00:00
|
|
|
"discussiontools-defaultsummary-reply",
|
2020-05-20 12:09:33 +00:00
|
|
|
"discussiontools-replywidget-feedback-link",
|
2020-08-01 12:01:37 +00:00
|
|
|
"discussiontools-replywidget-mention-prefix",
|
2020-05-20 12:09:33 +00:00
|
|
|
"discussiontools-signature-prefix"
|
2020-03-10 13:03:45 +00:00
|
|
|
]
|
|
|
|
},
|
2019-11-05 14:07:50 +00:00
|
|
|
{
|
2020-04-29 18:45:20 +00:00
|
|
|
"name": "config.json",
|
2019-11-05 14:07:50 +00:00
|
|
|
"config": {
|
2020-10-18 11:52:02 +00:00
|
|
|
"enable": "DiscussionToolsEnable",
|
2020-04-29 18:45:20 +00:00
|
|
|
"enable2017Wikitext": "DiscussionToolsEnable2017Wikitext"
|
2019-11-05 14:07:50 +00:00
|
|
|
}
|
2020-02-25 02:10:27 +00:00
|
|
|
},
|
2020-04-30 13:20:41 +00:00
|
|
|
"CommentController.js",
|
2020-02-25 02:10:27 +00:00
|
|
|
"logger.js",
|
|
|
|
"modifier.js",
|
2020-03-08 14:32:38 +00:00
|
|
|
"utils.js",
|
2020-07-20 21:15:03 +00:00
|
|
|
"Parser.js",
|
2020-05-22 16:26:05 +00:00
|
|
|
"ThreadItem.js",
|
|
|
|
"CommentItem.js",
|
|
|
|
"HeadingItem.js",
|
2020-02-25 02:10:27 +00:00
|
|
|
"lib/moment-timezone/moment-timezone-with-data-1970-2030.js",
|
|
|
|
{
|
|
|
|
"name": "parser/data.json",
|
2020-05-14 22:44:49 +00:00
|
|
|
"callback": "\\MediaWiki\\Extension\\DiscussionTools\\Data::getLocalData"
|
2019-11-05 14:07:50 +00:00
|
|
|
}
|
2019-12-06 18:43:46 +00:00
|
|
|
],
|
2019-12-10 21:46:22 +00:00
|
|
|
"dependencies": [
|
2020-02-25 02:10:27 +00:00
|
|
|
"moment",
|
2019-12-10 21:46:22 +00:00
|
|
|
"rangefix",
|
2020-03-09 20:09:56 +00:00
|
|
|
"oojs-ui-windows",
|
2020-02-25 02:10:27 +00:00
|
|
|
"mediawiki.Title",
|
|
|
|
"mediawiki.Uri",
|
|
|
|
"mediawiki.util",
|
2020-04-10 12:57:51 +00:00
|
|
|
"mediawiki.storage",
|
2020-09-08 00:23:53 +00:00
|
|
|
"mediawiki.String",
|
2020-10-18 11:52:02 +00:00
|
|
|
"mediawiki.cookie",
|
2020-03-04 21:46:08 +00:00
|
|
|
"ext.visualEditor.core.utils.parsing"
|
2019-12-10 21:46:22 +00:00
|
|
|
],
|
2019-12-06 18:43:46 +00:00
|
|
|
"messages": [
|
2020-09-01 20:20:24 +00:00
|
|
|
"discussiontools-error-comment-conflict",
|
2020-02-15 04:31:06 +00:00
|
|
|
"discussiontools-error-comment-disappeared",
|
2020-03-04 20:25:35 +00:00
|
|
|
"discussiontools-error-comment-is-transcluded",
|
|
|
|
"discussiontools-error-comment-is-transcluded-title",
|
2020-06-24 20:07:34 +00:00
|
|
|
"discussiontools-error-lint",
|
|
|
|
"discussiontools-error-noswitchtove",
|
|
|
|
"discussiontools-error-noswitchtove-extension",
|
|
|
|
"discussiontools-error-noswitchtove-table",
|
|
|
|
"discussiontools-error-noswitchtove-template",
|
|
|
|
"discussiontools-error-noswitchtove-title",
|
2019-12-06 18:43:46 +00:00
|
|
|
"discussiontools-replylink",
|
|
|
|
"discussiontools-replywidget-loading"
|
2019-11-05 13:55:01 +00:00
|
|
|
]
|
|
|
|
},
|
2019-10-24 14:38:31 +00:00
|
|
|
"ext.discussionTools.debug": {
|
|
|
|
"packageFiles": [
|
|
|
|
"dt.debug.js",
|
|
|
|
"highlighter.js"
|
|
|
|
],
|
|
|
|
"styles": "highlighter.css",
|
|
|
|
"dependencies": [
|
2020-02-25 02:10:27 +00:00
|
|
|
"ext.discussionTools.init"
|
2019-09-26 07:06:56 +00:00
|
|
|
]
|
2019-11-05 14:07:50 +00:00
|
|
|
},
|
|
|
|
"ext.discussionTools.ReplyWidget": {
|
2019-12-10 21:46:22 +00:00
|
|
|
"packageFiles": [
|
2019-11-05 14:07:50 +00:00
|
|
|
"dt.ui.ReplyWidget.js"
|
|
|
|
],
|
2019-11-22 21:53:31 +00:00
|
|
|
"styles": [
|
|
|
|
"dt.ui.ReplyWidget.less"
|
|
|
|
],
|
2019-12-06 18:43:46 +00:00
|
|
|
"messages": [
|
2020-07-09 14:07:06 +00:00
|
|
|
"discussiontools-replywidget-abandon",
|
|
|
|
"discussiontools-replywidget-abandon-discard",
|
|
|
|
"discussiontools-replywidget-abandon-keep",
|
2020-08-25 12:31:54 +00:00
|
|
|
"discussiontools-replywidget-advanced",
|
2019-11-19 19:33:14 +00:00
|
|
|
"discussiontools-replywidget-anon-warning",
|
2019-12-06 18:43:46 +00:00
|
|
|
"discussiontools-replywidget-cancel",
|
2020-04-07 14:33:32 +00:00
|
|
|
"discussiontools-replywidget-feedback",
|
2020-07-08 17:20:23 +00:00
|
|
|
"discussiontools-replywidget-mention-tool-header",
|
2020-06-11 14:56:17 +00:00
|
|
|
"discussiontools-replywidget-mention-tool-title",
|
2020-04-27 16:23:27 +00:00
|
|
|
"discussiontools-replywidget-mode-source",
|
|
|
|
"discussiontools-replywidget-mode-visual",
|
2020-02-25 17:57:23 +00:00
|
|
|
"discussiontools-replywidget-placeholder-reply",
|
2020-02-03 20:34:13 +00:00
|
|
|
"discussiontools-replywidget-preview",
|
2019-12-09 14:20:06 +00:00
|
|
|
"discussiontools-replywidget-reply",
|
2020-08-25 12:31:54 +00:00
|
|
|
"discussiontools-replywidget-summary",
|
2020-03-12 19:58:36 +00:00
|
|
|
"discussiontools-replywidget-terms-click",
|
|
|
|
"discussiontools-replywidget-transcluded"
|
2019-12-06 18:43:46 +00:00
|
|
|
],
|
2019-11-05 14:07:50 +00:00
|
|
|
"dependencies": [
|
2020-04-27 16:23:27 +00:00
|
|
|
"oojs-ui-widgets",
|
2020-08-25 12:31:54 +00:00
|
|
|
"oojs-ui.styles.indicators",
|
2020-02-25 02:10:27 +00:00
|
|
|
"ext.discussionTools.init",
|
2020-08-25 12:31:54 +00:00
|
|
|
"mediawiki.widgets.AbandonEditDialog",
|
|
|
|
"mediawiki.widgets.visibleLengthLimit"
|
2020-03-23 22:50:03 +00:00
|
|
|
],
|
|
|
|
"optionalDependencies": {
|
|
|
|
"ConfirmEdit": "ext.confirmEdit.CaptchaInputWidget"
|
|
|
|
},
|
2020-05-14 22:44:49 +00:00
|
|
|
"factory": "\\MediaWiki\\Extension\\DiscussionTools\\Data::addOptionalDependencies"
|
2019-11-05 14:07:50 +00:00
|
|
|
},
|
|
|
|
"ext.discussionTools.ReplyWidgetPlain": {
|
|
|
|
"packageFiles": [
|
|
|
|
"dt.ui.ReplyWidgetPlain.js"
|
|
|
|
],
|
|
|
|
"dependencies": [
|
|
|
|
"ext.discussionTools.ReplyWidget",
|
2019-12-03 16:29:25 +00:00
|
|
|
"mediawiki.editfont.styles",
|
2019-11-19 19:33:14 +00:00
|
|
|
"mediawiki.user",
|
2019-11-05 14:07:50 +00:00
|
|
|
"mediawiki.jqueryMsg"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"ext.discussionTools.ReplyWidgetVisual": {
|
|
|
|
"packageFiles": [
|
|
|
|
"dt.ui.ReplyWidgetVisual.js",
|
2020-06-18 13:49:01 +00:00
|
|
|
"dt-ve/CommentTarget.js",
|
|
|
|
"dt-ve/CommentTargetWidget.js",
|
2020-04-08 18:23:22 +00:00
|
|
|
"dt-ve/dt.dm.MWSignatureNode.js",
|
|
|
|
"dt-ve/dt.ce.MWSignatureNode.js",
|
|
|
|
"dt-ve/dt.ui.MWSignatureContextItem.js",
|
|
|
|
"dt-ve/dt.ui.registries.js",
|
2020-06-18 13:49:01 +00:00
|
|
|
"dt-ve/dt.ui.UsernameCompletionAction.js",
|
2020-06-26 16:23:07 +00:00
|
|
|
"dt-ve/dt.ui.UsernameCompletionTool.js",
|
|
|
|
"dt-ve/dt.dm.PingNode.js",
|
|
|
|
"dt-ve/dt.ce.PingNode.js"
|
2019-11-05 14:07:50 +00:00
|
|
|
],
|
|
|
|
"styles": [
|
2020-06-18 13:49:01 +00:00
|
|
|
"dt-ve/CommentTargetWidget.less"
|
2019-11-05 14:07:50 +00:00
|
|
|
],
|
2020-04-08 18:23:22 +00:00
|
|
|
"messages": [
|
|
|
|
"discussiontools-replywidget-signature-title",
|
|
|
|
"discussiontools-replywidget-signature-body"
|
|
|
|
],
|
2019-11-05 14:07:50 +00:00
|
|
|
"dependencies": [
|
|
|
|
"ext.discussionTools.ReplyWidget",
|
|
|
|
"ext.visualEditor.mwcore",
|
2020-04-08 18:23:22 +00:00
|
|
|
"ext.visualEditor.mwsignature",
|
2019-11-05 14:07:50 +00:00
|
|
|
"ext.visualEditor.mwwikitext",
|
|
|
|
"ext.visualEditor.core.desktop",
|
|
|
|
"ext.visualEditor.desktopTarget",
|
|
|
|
"ext.visualEditor.mwextensions.desktop"
|
2019-11-05 14:07:50 +00:00
|
|
|
]
|
2019-09-26 07:06:56 +00:00
|
|
|
}
|
2019-10-10 13:25:11 +00:00
|
|
|
},
|
|
|
|
"QUnitTestModule": {
|
2020-05-18 20:07:00 +00:00
|
|
|
"localBasePath": "tests",
|
|
|
|
"remoteExtPath": "DiscussionTools/tests",
|
2019-10-24 11:41:25 +00:00
|
|
|
"packageFiles": [
|
2020-05-18 20:07:00 +00:00
|
|
|
"qunit/index.js",
|
|
|
|
"qunit/testUtils.js",
|
2019-10-24 11:41:25 +00:00
|
|
|
{
|
|
|
|
"name": "data-en.json",
|
2020-05-14 22:44:49 +00:00
|
|
|
"callback": "\\MediaWiki\\Extension\\DiscussionTools\\Data::getLocalData",
|
2019-10-24 11:41:25 +00:00
|
|
|
"callbackParam": "en"
|
|
|
|
},
|
2020-04-02 21:39:18 +00:00
|
|
|
"data/arwiki-config.json",
|
|
|
|
"data/arwiki-data.json",
|
2020-08-31 22:43:45 +00:00
|
|
|
"data/ckbwiki-config.json",
|
|
|
|
"data/ckbwiki-data.json",
|
2019-10-24 12:59:42 +00:00
|
|
|
"data/enwiki-config.json",
|
|
|
|
"data/enwiki-data.json",
|
2020-02-24 20:36:18 +00:00
|
|
|
"data/frwiki-config.json",
|
|
|
|
"data/frwiki-data.json",
|
2020-02-29 18:02:05 +00:00
|
|
|
"data/huwiki-config.json",
|
|
|
|
"data/huwiki-data.json",
|
2020-02-21 20:11:19 +00:00
|
|
|
"data/nlwiki-config.json",
|
|
|
|
"data/nlwiki-data.json",
|
2019-10-24 12:59:42 +00:00
|
|
|
"data/plwiki-config.json",
|
|
|
|
"data/plwiki-data.json",
|
2020-09-07 22:19:11 +00:00
|
|
|
"data/srwiki-config.json",
|
|
|
|
"data/srwiki-data.json",
|
2020-05-19 19:01:03 +00:00
|
|
|
"cases/authors.json",
|
2020-05-08 11:03:49 +00:00
|
|
|
"cases/comments.json",
|
2020-05-15 00:51:36 +00:00
|
|
|
"cases/transcluded.json",
|
2020-05-11 14:25:01 +00:00
|
|
|
"cases/modified.json",
|
|
|
|
"cases/reply.json",
|
|
|
|
"cases/unwrap.json",
|
2020-07-15 21:43:56 +00:00
|
|
|
"cases/isWikitextSigned.json",
|
|
|
|
"cases/isHtmlSigned.json",
|
2020-06-26 22:24:14 +00:00
|
|
|
"cases/sanitize-wikitext-linebreaks.json",
|
2020-05-08 11:03:49 +00:00
|
|
|
"cases/timestamp-regex.json",
|
|
|
|
"cases/timestamp-parser.json",
|
|
|
|
"cases/timestamp-parser-dst.json",
|
2020-02-21 19:56:52 +00:00
|
|
|
"cases/en-big-oldparser/en-big-oldparser.json",
|
|
|
|
"cases/en-big-parsoid/en-big-parsoid.json",
|
2020-03-04 20:25:35 +00:00
|
|
|
"cases/en-big-parsoid/en-big-parsoid-transcludedFrom.json",
|
2020-08-31 22:43:45 +00:00
|
|
|
"cases/ckb-big-oldparser/ckb-big-oldparser.json",
|
|
|
|
"cases/ckb-big-parsoid/ckb-big-parsoid.json",
|
2020-03-04 20:25:35 +00:00
|
|
|
"cases/en-bigafd-parsoid/en-bigafd-parsoid-transcludedFrom.json",
|
2020-03-19 17:37:19 +00:00
|
|
|
"cases/transclusions/transclusions-transcludedFrom.json",
|
2020-02-21 19:56:52 +00:00
|
|
|
"cases/pl-big-oldparser/pl-big-oldparser.json",
|
|
|
|
"cases/pl-big-parsoid/pl-big-parsoid.json",
|
2020-04-02 21:39:18 +00:00
|
|
|
"cases/ar-no-paragraph-oldparser/ar-no-paragraph-oldparser.json",
|
|
|
|
"cases/ar-no-paragraph-parsoid/ar-no-paragraph-parsoid.json",
|
2020-05-05 20:19:04 +00:00
|
|
|
"cases/ar-nbsp-timezone-oldparser/ar-nbsp-timezone-oldparser.json",
|
|
|
|
"cases/ar-nbsp-timezone-parsoid/ar-nbsp-timezone-parsoid.json",
|
2020-02-24 20:36:18 +00:00
|
|
|
"cases/fr-unsigned-oldparser/fr-unsigned-oldparser.json",
|
|
|
|
"cases/fr-unsigned-parsoid/fr-unsigned-parsoid.json",
|
|
|
|
"cases/fr-unsigned-parsoid/fr-unsigned-parsoid-transcludedFrom.json",
|
2020-09-07 22:19:11 +00:00
|
|
|
"cases/sr-ec/sr-ec.json",
|
|
|
|
"cases/sr-el/sr-el.json",
|
2020-02-21 19:56:52 +00:00
|
|
|
"cases/no-heading/no-heading.json",
|
2020-02-21 20:11:19 +00:00
|
|
|
"cases/lrm-signature/lrm-signature.json",
|
2020-02-29 18:02:05 +00:00
|
|
|
"cases/fallback-encoding-link/fallback-encoding-link.json",
|
2020-05-18 19:33:05 +00:00
|
|
|
"cases/parsoid-sections/parsoid-sections-transcludedFrom.json",
|
2020-08-11 04:09:18 +00:00
|
|
|
"cases/signatures-funny/signatures-funny.json",
|
2020-05-18 20:07:00 +00:00
|
|
|
"qunit/modifier.test.js",
|
2020-07-20 14:13:59 +00:00
|
|
|
"qunit/parser.test.js",
|
|
|
|
"qunit/ThreadItem.test.js"
|
2019-10-24 11:41:25 +00:00
|
|
|
],
|
2020-02-21 19:56:52 +00:00
|
|
|
"templates": [
|
|
|
|
"cases/en-big-oldparser/en-big-oldparser.html",
|
|
|
|
"cases/en-big-oldparser/en-big-oldparser-modified.html",
|
2020-03-02 18:50:36 +00:00
|
|
|
"cases/en-big-oldparser/en-big-oldparser-reply.html",
|
2020-02-21 19:56:52 +00:00
|
|
|
"cases/en-big-parsoid/en-big-parsoid.html",
|
|
|
|
"cases/en-big-parsoid/en-big-parsoid-modified.html",
|
2020-08-31 22:43:45 +00:00
|
|
|
"cases/ckb-big-oldparser/ckb-big-oldparser.html",
|
|
|
|
"cases/ckb-big-parsoid/ckb-big-parsoid.html",
|
2020-03-04 20:25:35 +00:00
|
|
|
"cases/en-bigafd-parsoid/en-bigafd-parsoid.html",
|
2020-03-19 17:37:19 +00:00
|
|
|
"cases/transclusions/transclusions.html",
|
2020-02-21 19:56:52 +00:00
|
|
|
"cases/pl-big-oldparser/pl-big-oldparser.html",
|
|
|
|
"cases/pl-big-oldparser/pl-big-oldparser-modified.html",
|
2020-03-02 18:50:36 +00:00
|
|
|
"cases/pl-big-oldparser/pl-big-oldparser-reply.html",
|
2020-02-21 19:56:52 +00:00
|
|
|
"cases/pl-big-parsoid/pl-big-parsoid.html",
|
|
|
|
"cases/pl-big-parsoid/pl-big-parsoid-modified.html",
|
2020-04-02 21:39:18 +00:00
|
|
|
"cases/ar-no-paragraph-oldparser/ar-no-paragraph-oldparser.html",
|
|
|
|
"cases/ar-no-paragraph-oldparser/ar-no-paragraph-oldparser-modified.html",
|
|
|
|
"cases/ar-no-paragraph-oldparser/ar-no-paragraph-oldparser-reply.html",
|
|
|
|
"cases/ar-no-paragraph-parsoid/ar-no-paragraph-parsoid.html",
|
|
|
|
"cases/ar-no-paragraph-parsoid/ar-no-paragraph-parsoid-modified.html",
|
2020-05-05 20:19:04 +00:00
|
|
|
"cases/ar-nbsp-timezone-oldparser/ar-nbsp-timezone-oldparser.html",
|
|
|
|
"cases/ar-nbsp-timezone-parsoid/ar-nbsp-timezone-parsoid.html",
|
2020-02-24 20:36:18 +00:00
|
|
|
"cases/fr-unsigned-oldparser/fr-unsigned-oldparser.html",
|
|
|
|
"cases/fr-unsigned-oldparser/fr-unsigned-oldparser-reply.html",
|
|
|
|
"cases/fr-unsigned-parsoid/fr-unsigned-parsoid.html",
|
2020-09-07 22:19:11 +00:00
|
|
|
"cases/sr-ec/sr-ec.html",
|
|
|
|
"cases/sr-el/sr-el.html",
|
2020-02-21 19:56:52 +00:00
|
|
|
"cases/no-heading/no-heading.html",
|
2020-02-21 20:11:19 +00:00
|
|
|
"cases/lrm-signature/lrm-signature.html",
|
2020-02-29 18:02:05 +00:00
|
|
|
"cases/fallback-encoding-link/fallback-encoding-link.html",
|
2020-05-18 19:33:05 +00:00
|
|
|
"cases/parsoid-sections/parsoid-sections.html",
|
2020-02-21 19:56:52 +00:00
|
|
|
"cases/split-list/split-list.html",
|
|
|
|
"cases/split-list/split-list-modified.html",
|
|
|
|
"cases/split-list2/split-list2.html",
|
2020-03-02 18:50:36 +00:00
|
|
|
"cases/split-list2/split-list2-modified.html",
|
2020-07-29 23:11:18 +00:00
|
|
|
"cases/mixed-indentation/mixed-indentation.html",
|
|
|
|
"cases/mixed-indentation/mixed-indentation-modified.html",
|
2020-04-25 17:36:48 +00:00
|
|
|
"cases/wrappers/wrappers.html",
|
|
|
|
"cases/wrappers/wrappers-modified.html",
|
2020-03-02 18:50:36 +00:00
|
|
|
"cases/signatures-funny/signatures-funny.html",
|
|
|
|
"cases/signatures-funny/signatures-funny-modified.html",
|
2020-07-22 19:01:13 +00:00
|
|
|
"cases/signatures-funny/signatures-funny-reply.html",
|
|
|
|
"cases/signatures-comments/signatures-comments.html",
|
|
|
|
"cases/signatures-comments/signatures-comments-modified.html"
|
2020-02-21 19:56:52 +00:00
|
|
|
],
|
2019-10-24 11:41:25 +00:00
|
|
|
"dependencies": [
|
2020-02-25 02:10:27 +00:00
|
|
|
"ext.discussionTools.init"
|
2019-10-24 11:41:25 +00:00
|
|
|
]
|
2019-10-10 13:25:11 +00:00
|
|
|
},
|
2020-05-14 22:44:49 +00:00
|
|
|
"AutoloadNamespaces": {
|
|
|
|
"MediaWiki\\Extension\\DiscussionTools\\": "includes/"
|
2019-10-10 13:25:11 +00:00
|
|
|
},
|
2020-05-14 22:44:49 +00:00
|
|
|
"TestAutoloadNamespaces": {
|
|
|
|
"MediaWiki\\Extension\\DiscussionTools\\Tests\\": "tests/phpunit/"
|
2020-05-11 15:52:06 +00:00
|
|
|
},
|
2020-08-19 20:03:41 +00:00
|
|
|
"APIModules": {
|
|
|
|
"discussiontools": "MediaWiki\\Extension\\DiscussionTools\\ApiDiscussionTools",
|
|
|
|
"discussiontoolsedit": "MediaWiki\\Extension\\DiscussionTools\\ApiDiscussionToolsEdit"
|
|
|
|
},
|
2019-10-10 13:25:11 +00:00
|
|
|
"Hooks": {
|
2020-05-14 22:44:49 +00:00
|
|
|
"BeforePageDisplay": "\\MediaWiki\\Extension\\DiscussionTools\\Hooks::onBeforePageDisplay",
|
|
|
|
"ResourceLoaderGetConfigVars": "\\MediaWiki\\Extension\\DiscussionTools\\Hooks::onResourceLoaderGetConfigVars",
|
|
|
|
"GetBetaFeaturePreferences": "\\MediaWiki\\Extension\\DiscussionTools\\Hooks::onGetBetaPreferences",
|
2020-05-07 19:16:14 +00:00
|
|
|
"GetPreferences": "\\MediaWiki\\Extension\\DiscussionTools\\Hooks::onGetPreferences",
|
2020-05-14 22:44:49 +00:00
|
|
|
"ListDefinedTags": "\\MediaWiki\\Extension\\DiscussionTools\\Hooks::onListDefinedTags",
|
2020-09-16 12:07:27 +00:00
|
|
|
"OutputPageBeforeHTML": "\\MediaWiki\\Extension\\DiscussionTools\\Hooks::onOutputPageBeforeHTML",
|
2020-05-14 22:44:49 +00:00
|
|
|
"ChangeTagsListActive": "\\MediaWiki\\Extension\\DiscussionTools\\Hooks::onListDefinedTags",
|
|
|
|
"RecentChange_save": "\\MediaWiki\\Extension\\DiscussionTools\\Hooks::onRecentChangeSave"
|
2019-10-10 13:25:11 +00:00
|
|
|
},
|
2020-05-07 19:16:14 +00:00
|
|
|
"DefaultUserOptions": {
|
2020-09-10 13:52:33 +00:00
|
|
|
"discussiontools-editmode": "",
|
|
|
|
"discussiontools-replytool": 1
|
2020-05-07 19:16:14 +00:00
|
|
|
},
|
2019-11-05 14:07:50 +00:00
|
|
|
"config": {
|
2020-02-04 21:06:13 +00:00
|
|
|
"DiscussionToolsEnable": {
|
|
|
|
"value": true,
|
|
|
|
"description": "Enable DiscussionTools on talk pages."
|
|
|
|
},
|
2020-02-18 18:28:17 +00:00
|
|
|
"DiscussionToolsBeta": {
|
|
|
|
"value": false,
|
|
|
|
"description": "Make DiscussionTools a BetaFeature."
|
|
|
|
},
|
2020-04-29 18:45:20 +00:00
|
|
|
"DiscussionToolsEnable2017Wikitext": {
|
|
|
|
"value": false,
|
|
|
|
"description": "Enable the 2017 wikitext editor for wikitext replies (not yet supported)."
|
2020-04-13 15:30:20 +00:00
|
|
|
},
|
|
|
|
"DTSchemaEditAttemptStepSamplingRate": {
|
|
|
|
"value": false,
|
|
|
|
"description": "Rate at which to sample sessions for instrumentation; overrides WikimediaEvents rate if set"
|
|
|
|
},
|
|
|
|
"DTSchemaEditAttemptStepOversample": {
|
|
|
|
"value": false,
|
|
|
|
"description": "Oversample EditAttemptStep logging; distinct from rate tuning, as it'll flag the events as being oversampled"
|
2019-11-05 14:07:50 +00:00
|
|
|
}
|
|
|
|
},
|
2020-02-20 20:39:35 +00:00
|
|
|
"ConfigRegistry": {
|
|
|
|
"discussiontools": "GlobalVarConfig::newInstance"
|
|
|
|
},
|
2019-10-10 13:25:11 +00:00
|
|
|
"type": "other"
|
|
|
|
}
|