PortableInfobox/extension.json
CosmicAlpha 4fcb828705
Add more support to PortableInfoboxBuilder (#124)
Adds support for `<header>` and `<navigation>` tags
2024-05-11 17:49:11 -06:00

152 lines
4.7 KiB
JSON

{
"name": "Portable Infobox",
"author": [
"Universal Omega",
"Luqgreg (Łukasz K.)",
"..."
],
"url": "https://github.com/Universal-Omega/PortableInfobox",
"descriptionmsg": "portable-infobox-desc",
"version": "0.7",
"type": "parserhook",
"license-name": "GPL-3.0-or-later",
"requires": {
"MediaWiki": ">= 1.39.0",
"platform": {
"php": ">= 7.3"
}
},
"config": {
"AllInfoboxesSubpagesBlacklist": {
"value": [ "doc", "draft", "test" ]
},
"PortableInfoboxCacheRenderers": {
"value": false
},
"PortableInfoboxCustomImageWidth": {
"value": 300
},
"PortableInfoboxUseHeadings": {
"value": true
},
"PortableInfoboxUseTidy": {
"value": true
},
"PortableInfoboxResponsiblyOpenCollapsed": {
"value": true
},
"PortableInfoboxUseFileDescriptionPage": {
"value": false
}
},
"MessagesDirs": {
"PortableInfobox": "i18n"
},
"ExtensionMessagesFiles": {
"PortableInfoboxAliases": "includes/PortableInfoboxAliases.php",
"PortableInfoboxMagic": "includes/PortableInfoboxMagic.php"
},
"ResourceModules": {
"ext.PortableInfobox.scripts": {
"scripts": "resources/PortableInfobox.js",
"targets": [
"desktop",
"mobile"
]
},
"ext.PortableInfobox.styles": {
"class": "PortableInfoboxResourceLoaderModule",
"styles": "resources/PortableInfobox.less",
"targets": [
"desktop",
"mobile"
]
},
"ext.PortableInfoboxBuilder": {
"scripts": [
"resources/PortableInfoboxBuilderNodes.js",
"resources/PortableInfoboxBuilder.js"
],
"styles": "resources/PortableInfoboxBuilder.less",
"dependencies": [
"mediawiki.jqueryMsg",
"jquery.ui",
"oojs-ui-core",
"oojs-ui-widgets",
"oojs-ui-windows"
],
"messages": [
"confirmable-confirm",
"infoboxbuilder-action-addnode",
"infoboxbuilder-action-clear",
"infoboxbuilder-action-deletenode",
"infoboxbuilder-action-publish",
"infoboxbuilder-editerror",
"infoboxbuilder-editerrorunknown",
"infoboxbuilder-editsummary",
"infoboxbuilder-node-title",
"infoboxbuilder-node-title-value",
"infoboxbuilder-node-title-value-pagename",
"infoboxbuilder-node-header",
"infoboxbuilder-node-header-value",
"infoboxbuilder-node-navigation",
"infoboxbuilder-node-data",
"infoboxbuilder-node-data-value-source",
"infoboxbuilder-node-media",
"infoboxbuilder-nodeerror-invalidsource",
"infoboxbuilder-nodeerror-nosourceordefault",
"infoboxbuilder-nodeparam-default",
"infoboxbuilder-nodeparam-label",
"infoboxbuilder-nodeparam-source",
"infoboxbuilder-nodeparam-value",
"infoboxbuilder-templatename"
]
}
},
"ResourceFileModulePaths": {
"localBasePath": "",
"remoteExtPath": "PortableInfobox"
},
"AutoloadNamespaces": {
"PortableInfobox\\Helpers\\": "includes/services/Helpers/",
"PortableInfobox\\Parser\\": "includes/services/Parser/",
"PortableInfobox\\Parser\\Nodes\\": "includes/services/Parser/Nodes/"
},
"AutoloadClasses": {
"PortableInfoboxHooks": "includes/PortableInfoboxHooks.php",
"PortableInfoboxDataService": "includes/services/PortableInfoboxDataService.php",
"PortableInfoboxRenderService": "includes/services/PortableInfoboxRenderService.php",
"PortableInfoboxResourceLoaderModule": "includes/resourceloader/PortableInfoboxResourceLoaderModule.php",
"PortableInfoboxErrorRenderService": "includes/services/PortableInfoboxErrorRenderService.php",
"PortableInfoboxParserTagController": "includes/controllers/PortableInfoboxParserTagController.php",
"ApiPortableInfobox": "includes/controllers/ApiPortableInfobox.php",
"ApiQueryPortableInfobox": "includes/controllers/ApiQueryPortableInfobox.php",
"ApiQueryAllInfoboxes": "includes/controllers/ApiQueryAllInfoboxes.php",
"AllInfoboxesQueryPage": "includes/querypage/AllInfoboxesQueryPage.php",
"SpecialPortableInfoboxBuilder": "includes/specials/SpecialPortableInfoboxBuilder.php"
},
"Hooks": {
"ParserFirstCallInit": "PortableInfoboxParserTagController::parserTagInit",
"AfterParserFetchFileAndTitle": "PortableInfoboxHooks::onAfterParserFetchFileAndTitle",
"wgQueryPages": "PortableInfoboxHooks::onWgQueryPages",
"AllInfoboxesQueryRecached": "PortableInfoboxHooks::onAllInfoboxesQueryRecached",
"ArticlePurge": "PortableInfoboxHooks::onArticlePurge",
"MultiContentSave": "PortableInfoboxHooks::onMultiContentSave",
"ResourceLoaderRegisterModules": "PortableInfoboxHooks::onResourceLoaderRegisterModules"
},
"SpecialPages": {
"AllInfoboxes": "AllInfoboxesQueryPage",
"PortableInfoboxBuilder": "SpecialPortableInfoboxBuilder"
},
"APIModules": {
"infobox": "ApiPortableInfobox"
},
"APIPropModules": {
"infobox": "ApiQueryPortableInfobox"
},
"APIListModules": {
"allinfoboxes": "ApiQueryAllInfoboxes"
},
"manifest_version": 2
}