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": {
|
2019-10-12 15:59:18 +00:00
|
|
|
"MediaWiki": ">= 1.34.0",
|
|
|
|
"extensions": {
|
|
|
|
"VisualEditor": ">= 0.1.1"
|
|
|
|
}
|
2019-10-12 16:12:39 +00:00
|
|
|
},
|
2019-10-10 13:25:11 +00:00
|
|
|
"MessagesDirs": {
|
|
|
|
"DiscussionTools": [ "i18n" ]
|
|
|
|
},
|
2019-10-28 16:52:37 +00:00
|
|
|
"callback": "DiscussionToolsHooks::onRegistration",
|
2019-10-10 13:25:11 +00:00
|
|
|
"ResourceFileModulePaths": {
|
|
|
|
"localBasePath": "modules",
|
|
|
|
"remoteExtPath": "DiscussionTools/modules"
|
|
|
|
},
|
|
|
|
"ResourceModules": {
|
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-03-10 13:03:45 +00:00
|
|
|
"callback": "DiscussionToolsData::getContentLanguageMessages",
|
|
|
|
"callbackParam": [
|
|
|
|
"discussiontools-defaultsummary-reply"
|
|
|
|
]
|
|
|
|
},
|
2019-11-05 14:07:50 +00:00
|
|
|
{
|
2020-02-25 02:10:27 +00:00
|
|
|
"name": "controller/config.json",
|
2019-11-05 14:07:50 +00:00
|
|
|
"config": {
|
|
|
|
"useVisualEditor": "DiscussionToolsUseVisualEditor"
|
|
|
|
}
|
2020-02-25 02:10:27 +00:00
|
|
|
},
|
|
|
|
"logger.js",
|
|
|
|
"modifier.js",
|
2020-03-08 14:32:38 +00:00
|
|
|
"utils.js",
|
2020-02-25 02:10:27 +00:00
|
|
|
"parser.js",
|
|
|
|
"lib/moment-timezone/moment-timezone-with-data-1970-2030.js",
|
|
|
|
{
|
|
|
|
"name": "parser/data.json",
|
|
|
|
"callback": "DiscussionToolsData::getLocalData"
|
2019-11-05 14:07:50 +00:00
|
|
|
}
|
2019-12-06 18:43:46 +00:00
|
|
|
],
|
2020-02-25 02:10:27 +00:00
|
|
|
"styles": "dt.init.less",
|
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-03-04 21:46:08 +00:00
|
|
|
"ext.visualEditor.core.utils",
|
|
|
|
"ext.visualEditor.core.utils.parsing"
|
2019-12-10 21:46:22 +00:00
|
|
|
],
|
2019-12-06 18:43:46 +00:00
|
|
|
"messages": [
|
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",
|
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": [
|
2019-11-19 19:33:14 +00:00
|
|
|
"discussiontools-replywidget-anon-warning",
|
2019-12-06 18:43:46 +00:00
|
|
|
"discussiontools-replywidget-cancel",
|
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",
|
|
|
|
"discussiontools-replywidget-terms-click"
|
2019-12-06 18:43:46 +00:00
|
|
|
],
|
2019-11-05 14:07:50 +00:00
|
|
|
"dependencies": [
|
2020-02-25 02:10:27 +00:00
|
|
|
"ext.discussionTools.init",
|
2019-11-05 14:07:50 +00:00
|
|
|
"mediawiki.widgets.AbandonEditDialog"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"ext.discussionTools.ReplyWidgetPlain": {
|
|
|
|
"packageFiles": [
|
|
|
|
"dt.ui.ReplyWidgetPlain.js"
|
|
|
|
],
|
|
|
|
"dependencies": [
|
|
|
|
"ext.discussionTools.ReplyWidget",
|
2019-12-03 16:29:25 +00:00
|
|
|
"oojs-ui-core",
|
|
|
|
"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",
|
|
|
|
"CommentTarget.js",
|
|
|
|
"CommentTargetWidget.js"
|
|
|
|
],
|
|
|
|
"styles": [
|
|
|
|
"CommentTargetWidget.less"
|
|
|
|
],
|
|
|
|
"dependencies": [
|
|
|
|
"ext.discussionTools.ReplyWidget",
|
|
|
|
"ext.visualEditor.mwcore",
|
|
|
|
"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": {
|
2019-10-24 11:41:25 +00:00
|
|
|
"localBasePath": "tests/qunit",
|
|
|
|
"remoteExtPath": "DiscussionTools/tests/qunit",
|
|
|
|
"packageFiles": [
|
|
|
|
"index.js",
|
|
|
|
"utils.js",
|
|
|
|
{
|
|
|
|
"name": "data-en.json",
|
2019-10-28 12:28:17 +00:00
|
|
|
"callback": "DiscussionToolsData::getLocalData",
|
2019-10-24 11:41:25 +00:00
|
|
|
"callbackParam": "en"
|
|
|
|
},
|
2019-10-24 12:59:42 +00:00
|
|
|
"data/enwiki-config.json",
|
|
|
|
"data/enwiki-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-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",
|
|
|
|
"cases/en-bigafd-parsoid/en-bigafd-parsoid-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",
|
|
|
|
"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-01-21 22:01:11 +00:00
|
|
|
"modifier.test.js",
|
2019-10-24 11:41:25 +00:00
|
|
|
"parser.test.js"
|
|
|
|
],
|
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-03-04 20:25:35 +00:00
|
|
|
"cases/en-bigafd-parsoid/en-bigafd-parsoid.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",
|
|
|
|
"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-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",
|
|
|
|
"cases/signatures-funny/signatures-funny.html",
|
|
|
|
"cases/signatures-funny/signatures-funny-modified.html",
|
|
|
|
"cases/signatures-funny/signatures-funny-reply.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
|
|
|
},
|
|
|
|
"AutoloadClasses": {
|
2019-10-28 12:28:17 +00:00
|
|
|
"DiscussionToolsData": "includes/DiscussionToolsData.php",
|
2019-10-10 13:25:11 +00:00
|
|
|
"DiscussionToolsHooks": "includes/DiscussionToolsHooks.php"
|
|
|
|
},
|
|
|
|
"Hooks": {
|
2020-03-11 09:15:39 +00:00
|
|
|
"BeforePageDisplay": "DiscussionToolsHooks::onBeforePageDisplay",
|
2020-02-18 18:28:17 +00:00
|
|
|
"GetBetaFeaturePreferences": "DiscussionToolsHooks::onGetBetaPreferences",
|
2020-01-24 19:22:29 +00:00
|
|
|
"ListDefinedTags": "DiscussionToolsHooks::onListDefinedTags",
|
|
|
|
"ChangeTagsListActive": "DiscussionToolsHooks::onListDefinedTags",
|
2020-02-06 20:54:58 +00:00
|
|
|
"RecentChange_save": "DiscussionToolsHooks::onRecentChangeSave"
|
2019-10-10 13:25:11 +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."
|
|
|
|
},
|
2019-11-05 14:07:50 +00:00
|
|
|
"DiscussionToolsUseVisualEditor": {
|
|
|
|
"value": false,
|
|
|
|
"description": "Use VisualEditor for editing replies (both visual and wikitext)."
|
|
|
|
}
|
|
|
|
},
|
2020-02-20 20:39:35 +00:00
|
|
|
"ConfigRegistry": {
|
|
|
|
"discussiontools": "GlobalVarConfig::newInstance"
|
|
|
|
},
|
2019-10-10 13:25:11 +00:00
|
|
|
"type": "other"
|
|
|
|
}
|