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": {
|
2019-10-23 12:44:49 +00:00
|
|
|
"ext.discussionTools.parser": {
|
2019-09-26 07:06:56 +00:00
|
|
|
"packageFiles": [
|
|
|
|
"parser.js",
|
2019-10-18 12:12:55 +00:00
|
|
|
"lib/moment-timezone/moment-timezone-with-data-1970-2030.js",
|
2019-09-26 07:06:56 +00:00
|
|
|
{
|
|
|
|
"name": "data.json",
|
2019-10-28 12:28:17 +00:00
|
|
|
"callback": "DiscussionToolsData::getLocalData"
|
2019-09-26 07:06:56 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"dependencies": [
|
2019-10-18 12:12:55 +00:00
|
|
|
"moment",
|
2019-09-26 07:06:56 +00:00
|
|
|
"mediawiki.util",
|
|
|
|
"mediawiki.Uri",
|
2019-10-23 12:44:49 +00:00
|
|
|
"mediawiki.Title"
|
|
|
|
]
|
|
|
|
},
|
2019-11-05 14:13:18 +00:00
|
|
|
"ext.discussionTools.modifier": {
|
|
|
|
"packageFiles": [
|
|
|
|
"modifier.js"
|
|
|
|
]
|
|
|
|
},
|
2019-11-05 13:55:01 +00:00
|
|
|
"ext.discussionTools.controller": {
|
|
|
|
"packageFiles": [
|
|
|
|
"controller.js"
|
2019-12-06 18:43:46 +00:00
|
|
|
],
|
2019-12-10 21:46:22 +00:00
|
|
|
"dependencies": [
|
|
|
|
"rangefix",
|
|
|
|
"ext.discussionTools.parser",
|
|
|
|
"ext.discussionTools.modifier"
|
|
|
|
],
|
2019-12-06 18:43:46 +00:00
|
|
|
"messages": [
|
|
|
|
"discussiontools-defaultsummary-reply",
|
|
|
|
"discussiontools-replylink",
|
|
|
|
"discussiontools-replywidget-loading"
|
2019-11-05 13:55:01 +00:00
|
|
|
]
|
|
|
|
},
|
2019-10-23 12:44:49 +00:00
|
|
|
"ext.discussionTools.init": {
|
|
|
|
"packageFiles": [
|
|
|
|
"dt.init.js"
|
|
|
|
],
|
2019-10-30 16:12:27 +00:00
|
|
|
"styles": "dt.init.less",
|
2019-10-23 12:44:49 +00:00
|
|
|
"dependencies": [
|
2019-10-24 14:38:31 +00:00
|
|
|
"mediawiki.Uri",
|
2019-11-05 13:55:01 +00:00
|
|
|
"ext.discussionTools.controller"
|
2019-10-24 14:38:31 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"ext.discussionTools.debug": {
|
|
|
|
"packageFiles": [
|
|
|
|
"dt.debug.js",
|
|
|
|
"highlighter.js"
|
|
|
|
],
|
|
|
|
"styles": "highlighter.css",
|
|
|
|
"dependencies": [
|
2019-10-23 12:44:49 +00:00
|
|
|
"ext.discussionTools.parser"
|
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",
|
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": [
|
2019-12-10 21:46:22 +00:00
|
|
|
"ext.discussionTools.controller",
|
2019-12-03 16:29:25 +00:00
|
|
|
"oojs-ui-core",
|
|
|
|
"mediawiki.editfont.styles",
|
2019-11-19 19:33:14 +00:00
|
|
|
"mediawiki.user",
|
|
|
|
"mediawiki.jqueryMsg"
|
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",
|
|
|
|
"data/plwiki-config.json",
|
|
|
|
"data/plwiki-data.json",
|
|
|
|
"pages/oldparser/en-913983958.json",
|
|
|
|
"pages/parsoid/en-913983958.json",
|
|
|
|
"pages/oldparser/pl-55171451.json",
|
|
|
|
"pages/parsoid/pl-55171451.json",
|
2019-10-24 11:41:25 +00:00
|
|
|
"parser.test.js"
|
|
|
|
],
|
2019-10-24 12:59:42 +00:00
|
|
|
"templates": {
|
|
|
|
"oldparser/en-913983958.html": "pages/oldparser/en-913983958.html",
|
|
|
|
"parsoid/en-913983958.html": "pages/parsoid/en-913983958.html",
|
|
|
|
"oldparser/pl-55171451.html": "pages/oldparser/pl-55171451.html",
|
|
|
|
"parsoid/pl-55171451.html": "pages/parsoid/pl-55171451.html"
|
|
|
|
},
|
2019-10-24 11:41:25 +00:00
|
|
|
"dependencies": [
|
|
|
|
"ext.discussionTools.parser"
|
|
|
|
]
|
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": {
|
2019-10-10 19:11:07 +00:00
|
|
|
"BeforePageDisplay": [
|
|
|
|
"DiscussionToolsHooks::onBeforePageDisplay"
|
|
|
|
]
|
2019-10-10 13:25:11 +00:00
|
|
|
},
|
|
|
|
"type": "other"
|
|
|
|
}
|