mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-24 00:13:36 +00:00
55b8405e22
* Make full width * Set min rows and autosize * Position and align actions Change-Id: I298629980a821c94e04d83c918f9b45dc9436c44
126 lines
2.8 KiB
JSON
126 lines
2.8 KiB
JSON
{
|
|
"name": "DiscussionTools",
|
|
"license-name": "MIT",
|
|
"version": "0.0.0",
|
|
"namemsg": "discussiontools",
|
|
"descriptionmsg": "discussiontools-desc",
|
|
"manifest_version": 2,
|
|
"requires": {
|
|
"MediaWiki": ">= 1.34.0",
|
|
"extensions": {
|
|
"VisualEditor": ">= 0.1.1"
|
|
}
|
|
},
|
|
"MessagesDirs": {
|
|
"DiscussionTools": [ "i18n" ]
|
|
},
|
|
"callback": "DiscussionToolsHooks::onRegistration",
|
|
"ResourceFileModulePaths": {
|
|
"localBasePath": "modules",
|
|
"remoteExtPath": "DiscussionTools/modules"
|
|
},
|
|
"ResourceModules": {
|
|
"ext.discussionTools.parser": {
|
|
"packageFiles": [
|
|
"parser.js",
|
|
"lib/moment-timezone/moment-timezone-with-data-1970-2030.js",
|
|
{
|
|
"name": "data.json",
|
|
"callback": "DiscussionToolsData::getLocalData"
|
|
}
|
|
],
|
|
"dependencies": [
|
|
"moment",
|
|
"mediawiki.util",
|
|
"mediawiki.Uri",
|
|
"mediawiki.Title"
|
|
]
|
|
},
|
|
"ext.discussionTools.modifier": {
|
|
"packageFiles": [
|
|
"modifier.js"
|
|
]
|
|
},
|
|
"ext.discussionTools.controller": {
|
|
"packageFiles": [
|
|
"controller.js"
|
|
]
|
|
},
|
|
"ext.discussionTools.init": {
|
|
"packageFiles": [
|
|
"dt.init.js"
|
|
],
|
|
"styles": "dt.init.less",
|
|
"dependencies": [
|
|
"mediawiki.Uri",
|
|
"ext.discussionTools.parser",
|
|
"ext.discussionTools.modifier",
|
|
"ext.discussionTools.controller"
|
|
]
|
|
},
|
|
"ext.discussionTools.debug": {
|
|
"packageFiles": [
|
|
"dt.debug.js",
|
|
"highlighter.js"
|
|
],
|
|
"styles": "highlighter.css",
|
|
"dependencies": [
|
|
"ext.discussionTools.parser"
|
|
]
|
|
},
|
|
"ext.discussionTools.ReplyWidget": {
|
|
"scripts": [
|
|
"dt.ui.ReplyWidget.js"
|
|
],
|
|
"styles": [
|
|
"dt.ui.ReplyWidget.less"
|
|
],
|
|
"messages": [],
|
|
"dependencies": [
|
|
"oojs-ui-core"
|
|
]
|
|
}
|
|
},
|
|
"QUnitTestModule": {
|
|
"localBasePath": "tests/qunit",
|
|
"remoteExtPath": "DiscussionTools/tests/qunit",
|
|
"packageFiles": [
|
|
"index.js",
|
|
"utils.js",
|
|
{
|
|
"name": "data-en.json",
|
|
"callback": "DiscussionToolsData::getLocalData",
|
|
"callbackParam": "en"
|
|
},
|
|
"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",
|
|
"parser.test.js"
|
|
],
|
|
"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"
|
|
},
|
|
"dependencies": [
|
|
"ext.discussionTools.parser"
|
|
]
|
|
},
|
|
"AutoloadClasses": {
|
|
"DiscussionToolsData": "includes/DiscussionToolsData.php",
|
|
"DiscussionToolsHooks": "includes/DiscussionToolsHooks.php"
|
|
},
|
|
"Hooks": {
|
|
"BeforePageDisplay": [
|
|
"DiscussionToolsHooks::onBeforePageDisplay"
|
|
]
|
|
},
|
|
"type": "other"
|
|
}
|