mediawiki-extensions-Tabber.../extension.json

196 lines
5 KiB
JSON
Raw Normal View History

2016-03-09 18:48:51 +00:00
{
2021-06-21 17:49:47 +00:00
"name": "TabberNeue",
2024-09-01 00:09:28 +00:00
"version": "2.5.0",
2016-03-09 18:48:51 +00:00
"author": [
2021-06-21 17:49:47 +00:00
"alistair3149",
2016-03-09 18:48:51 +00:00
"Eric Fortin",
"Alexia E. Smith",
"Ciencia Al Poder"
2016-03-09 18:48:51 +00:00
],
2021-06-21 17:49:47 +00:00
"url": "https://www.mediawiki.org/wiki/Extension:TabberNeue",
"descriptionmsg": "tabberneue-desc",
2016-03-09 18:48:51 +00:00
"type": "parserhook",
2021-06-21 17:49:47 +00:00
"license-name": "GPL-3.0-or-later",
"requires": {
"MediaWiki": ">= 1.39.0"
},
2016-03-09 18:48:51 +00:00
"MessagesDirs": {
2021-06-21 17:49:47 +00:00
"TabberNeue": [
2016-03-09 18:48:51 +00:00
"/i18n"
]
},
"AutoloadNamespaces": {
"MediaWiki\\Extension\\TabberNeue\\": "includes/"
2016-03-09 18:48:51 +00:00
},
"TrackingCategories": [
"tabberneue-tabber-category",
"tabberneue-tabbertransclude-category"
],
2016-03-09 18:48:51 +00:00
"ResourceModules": {
"ext.tabberNeue.init.styles": {
"styles": [
"ext.tabberNeue.init/ext.tabberNeue.init.less"
],
"targets": [
"desktop",
"mobile"
]
},
"ext.tabberNeue": {
"packageFiles": [
"ext.tabberNeue/ext.tabberNeue.js",
{
"name": "ext.tabberNeue/config.json",
"config": {
"enableAnimation": "TabberNeueEnableAnimation",
"parseTabName": "TabberNeueParseTabName",
"updateLocationOnTabChange": "TabberNeueUpdateLocationOnTabChange",
"useLegacyTabIds": "TabberNeueUseLegacyTabIds"
}
},
"ext.tabberNeue/Hash.js",
"ext.tabberNeue/Transclude.js",
"ext.tabberNeue/Util.js"
],
"messages": [
"error",
"tabberneue-button-next",
"tabberneue-button-prev"
],
2016-03-09 18:48:51 +00:00
"styles": [
"ext.tabberNeue/ext.tabberNeue.less",
"ext.tabberNeue/ext.tabberNeue.mobile.less"
2016-03-09 18:48:51 +00:00
],
2019-08-21 16:09:50 +00:00
"dependencies": [
"mediawiki.Uri",
"mediawiki.util"
],
"targets": [
"desktop",
"mobile"
2016-03-09 18:48:51 +00:00
]
2021-06-21 17:49:47 +00:00
},
"ext.tabberNeue.codex": {
"packageFiles": [
"ext.tabberNeue.codex/ext.tabberNeue.codex.js",
"ext.tabberNeue.codex/App.vue",
"ext.tabberNeue.codex/TabContent.vue"
],
"styles": [
"ext.tabberNeue.codex/ext.tabberNeue.codex.less"
],
"dependencies": [
"@wikimedia/codex",
"mediawiki.util"
],
"targets": [
"desktop",
"mobile"
]
},
"ext.tabberNeue.visualEditor": {
"scripts": [
"ve-tabberNeue/ve.ce.MWTabberNode.js",
"ve-tabberNeue/ve.dm.MWTabberNode.js",
"ve-tabberNeue/ve.ui.MWTabberContextItem.js",
"ve-tabberNeue/ve.ui.MWTabberDialog.js",
"ve-tabberNeue/ve.ui.MWTabberDialogTool.js",
"ve-tabberNeue/ve.ce.MWTabberTranscludeNode.js",
"ve-tabberNeue/ve.dm.MWTabberTranscludeNode.js",
"ve-tabberNeue/ve.ui.MWTabberTranscludeContextItem.js",
"ve-tabberNeue/ve.ui.MWTabberTranscludeInspector.js",
"ve-tabberNeue/ve.ui.MWTabberTranscludeInspectorTool.js"
],
"styles": [
2022-04-22 20:31:21 +00:00
"ve-tabberNeue/ve.ui.MWTabberDialog.less",
"ve-tabberNeue/ve.ui.MWTabberIcons.less"
],
"dependencies": [
"ext.visualEditor.mwcore"
],
"messages": [
"tabberneue-visualeditor-mwtabberdialog-title",
"tabberneue-visualeditor-mwtabberdialog-desc",
"tabberneue-visualeditor-mwtabbertranscludeinspector-title",
"tabberneue-visualeditor-mwtabbertranscludeinspector-desc"
],
"targets": [
"desktop",
"mobile"
]
},
2021-06-21 17:49:47 +00:00
"ext.tabberNeue.icons": {
2024-02-08 19:28:57 +00:00
"class": "MediaWiki\\ResourceLoader\\ImageModule",
2021-06-21 17:49:47 +00:00
"selector": ".tabber__header__{name}:after",
"images": {
"next": {
"file": {
"ltr": "ext.tabberNeue.icons/next-ltr.svg",
"rtl": "ext.tabberNeue.icons/next-rtl.svg"
}
},
"prev": {
"file": {
"ltr": "ext.tabberNeue.icons/previous-ltr.svg",
"rtl": "ext.tabberNeue.icons/previous-rtl.svg"
}
}
}
2016-03-09 18:48:51 +00:00
}
},
"ResourceFileModulePaths": {
2021-06-21 17:49:47 +00:00
"localBasePath": "modules",
"remoteExtPath": "TabberNeue/modules"
2016-03-09 18:48:51 +00:00
},
"config_prefix": "wg",
"config": {
"TabberNeueParseTabName": {
"value": false,
"description": "Parse tab name as wikitext. This can have a performance impact and cause unexpected behaviors.",
"public": true
},
"TabberNeueUseCodex": {
"value": false,
"description": "Use Codex to render Tabber. It is experimental and many features might not work as expected.",
"public": true
},
"TabberNeueEnableAnimation": {
"value": true,
"description": "Enable or disable smooth scroll animation",
"public": true
},
"TabberNeueUpdateLocationOnTabChange": {
"value": true,
"description": "If enabled, when a tab is selected, the URL displayed on the browser changes. Opening this URL makes that tab initially selected.",
"public": true
},
"TabberNeueUseLegacyTabIds": {
"value": false,
"description": "If enabled, tab IDs will not be prepended with \"tabber-\". This provides better compatibility with the old Tabber extension, but will cause issues if there are headings with the same name as an existing tab.",
"public": true
}
},
2016-03-09 18:48:51 +00:00
"Hooks": {
"BeforePageDisplayMobile": "TabberHooks",
"ParserFirstCallInit": "TabberHooks"
2022-04-20 18:00:28 +00:00
},
"HookHandlers": {
"TabberHooks": {
"class": "MediaWiki\\Extension\\TabberNeue\\Hooks"
2022-04-20 18:00:28 +00:00
}
2016-03-09 18:48:51 +00:00
},
"attributes": {
"CodeMirror": {
"TagModes": {
"tabber": "text/mediawiki"
}
},
"VisualEditor": {
"PluginModules": [
"ext.tabberNeue.visualEditor"
]
}
},
"manifest_version": 2
2016-03-09 18:48:51 +00:00
}