2019-10-10 13:25:11 +00:00
|
|
|
{
|
|
|
|
"name": "DiscussionTools",
|
|
|
|
"license-name": "MIT",
|
|
|
|
"version": "0.0.0",
|
|
|
|
"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"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"ext.discussionTools.init": {
|
|
|
|
"packageFiles": [
|
|
|
|
"dt.init.js"
|
|
|
|
],
|
|
|
|
"dependencies": [
|
2019-10-24 14:38:31 +00:00
|
|
|
"mediawiki.Uri",
|
|
|
|
"ext.discussionTools.parser"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"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-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"
|
|
|
|
}
|