2016-02-05 06:35:54 +00:00
|
|
|
{
|
|
|
|
"name": "CategoryTree",
|
|
|
|
"author": "Daniel Kinzler",
|
|
|
|
"url": "https://www.mediawiki.org/wiki/Extension:CategoryTree",
|
|
|
|
"descriptionmsg": "categorytree-desc",
|
2018-01-04 10:52:36 +00:00
|
|
|
"license-name": "GPL-2.0-or-later",
|
2016-02-05 06:35:54 +00:00
|
|
|
"type": "parserhook",
|
2018-10-15 21:34:16 +00:00
|
|
|
"requires": {
|
2019-10-25 17:14:46 +00:00
|
|
|
"MediaWiki": ">= 1.35.0"
|
2018-10-15 21:34:16 +00:00
|
|
|
},
|
2016-02-05 06:35:54 +00:00
|
|
|
"ConfigRegistry": {
|
|
|
|
"categorytree": "GlobalVarConfig::newInstance"
|
|
|
|
},
|
|
|
|
"ExtensionFunctions": [
|
|
|
|
"CategoryTreeHooks::initialize"
|
|
|
|
],
|
|
|
|
"SpecialPages": {
|
|
|
|
"CategoryTree": "CategoryTreePage"
|
|
|
|
},
|
|
|
|
"APIModules": {
|
|
|
|
"categorytree": "ApiCategoryTree"
|
|
|
|
},
|
|
|
|
"MessagesDirs": {
|
|
|
|
"CategoryTree": [
|
2019-05-11 08:04:33 +00:00
|
|
|
"i18n",
|
|
|
|
"i18n/api"
|
2016-02-05 06:35:54 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"ExtensionMessagesFiles": {
|
|
|
|
"CategoryTreeAlias": "CategoryTree.alias.php",
|
|
|
|
"CategoryTreeMagic": "CategoryTree.i18n.magic.php"
|
|
|
|
},
|
|
|
|
"AutoloadClasses": {
|
2018-02-09 06:23:07 +00:00
|
|
|
"CategoryTreePage": "includes/CategoryTreePage.php",
|
|
|
|
"CategoryTree": "includes/CategoryTree.php",
|
|
|
|
"CategoryTreeCategoryPage": "includes/CategoryTreeCategoryPage.php",
|
|
|
|
"CategoryTreeCategoryViewer": "includes/CategoryTreeCategoryViewer.php",
|
|
|
|
"CategoryTreeHooks": "includes/CategoryTreeHooks.php",
|
|
|
|
"CategoryTreeMode": "includes/CategoryTreeMode.php",
|
|
|
|
"CategoryTreeHidePrefix": "includes/CategoryTreeHidePrefix.php",
|
|
|
|
"ApiCategoryTree": "includes/ApiCategoryTree.php"
|
2016-02-05 06:35:54 +00:00
|
|
|
},
|
|
|
|
"ResourceModules": {
|
|
|
|
"ext.categoryTree": {
|
2019-04-04 19:45:27 +00:00
|
|
|
"localBasePath": "modules/ext.categoryTree",
|
|
|
|
"remoteExtPath": "CategoryTree/modules/ext.categoryTree",
|
|
|
|
"styles": "ext.categoryTree.css",
|
|
|
|
"packageFiles": [
|
|
|
|
"ext.categoryTree.js",
|
|
|
|
{
|
|
|
|
"name": "data.json",
|
|
|
|
"callback": "CategoryTreeHooks::getDataForJs"
|
|
|
|
}
|
|
|
|
],
|
2017-07-26 19:16:24 +00:00
|
|
|
"targets": [
|
|
|
|
"desktop",
|
|
|
|
"mobile"
|
|
|
|
],
|
2016-02-05 06:35:54 +00:00
|
|
|
"messages": [
|
|
|
|
"categorytree-collapse",
|
|
|
|
"categorytree-expand",
|
|
|
|
"categorytree-collapse-bullet",
|
|
|
|
"categorytree-expand-bullet",
|
|
|
|
"categorytree-load",
|
|
|
|
"categorytree-loading",
|
|
|
|
"categorytree-nothing-found",
|
|
|
|
"categorytree-no-subcategories",
|
|
|
|
"categorytree-no-parent-categories",
|
|
|
|
"categorytree-no-pages",
|
|
|
|
"categorytree-error",
|
|
|
|
"categorytree-retry"
|
2017-06-27 12:51:16 +00:00
|
|
|
],
|
|
|
|
"dependencies": [
|
|
|
|
"mediawiki.api"
|
2016-02-05 06:35:54 +00:00
|
|
|
]
|
|
|
|
},
|
2018-12-08 23:12:18 +00:00
|
|
|
"ext.categoryTree.styles": {
|
|
|
|
"targets": [
|
|
|
|
"desktop",
|
2017-07-26 19:16:24 +00:00
|
|
|
"mobile"
|
|
|
|
],
|
2018-12-08 23:12:18 +00:00
|
|
|
"styles": "ext.categoryTree.styles.css"
|
2016-02-05 06:35:54 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"ResourceFileModulePaths": {
|
|
|
|
"localBasePath": "modules",
|
|
|
|
"remoteExtPath": "CategoryTree/modules"
|
|
|
|
},
|
|
|
|
"Hooks": {
|
2019-04-04 19:45:27 +00:00
|
|
|
"ArticleFromTitle": "CategoryTreeHooks::articleFromTitle",
|
|
|
|
"SpecialTrackingCategories::preprocess": "CategoryTreeHooks::onSpecialTrackingCategoriesPreprocess",
|
|
|
|
"SpecialTrackingCategories::generateCatLink": "CategoryTreeHooks::onSpecialTrackingCategoriesGenerateCatLink",
|
2019-01-02 21:54:34 +00:00
|
|
|
"SkinBuildSidebar": "CategoryTreeHooks::onSkinBuildSidebar",
|
2018-04-16 06:41:38 +00:00
|
|
|
"ParserFirstCallInit": "CategoryTreeHooks::setHooks",
|
|
|
|
"OutputPageMakeCategoryLinks": "CategoryTreeHooks::outputPageMakeCategoryLinks",
|
|
|
|
"BeforePageDisplay": "CategoryTreeHooks::addHeaders",
|
|
|
|
"BeforePageDisplayMobile": "CategoryTreeHooks::addHeaders",
|
|
|
|
"OutputPageParserOutput": "CategoryTreeHooks::parserOutput"
|
2016-02-05 06:35:54 +00:00
|
|
|
},
|
|
|
|
"config": {
|
|
|
|
"CategoryTreeMaxChildren": 200,
|
|
|
|
"CategoryTreeAllowTag": true,
|
|
|
|
"CategoryTreeDisableCache": 21600,
|
|
|
|
"CategoryTreeMaxDepth": {
|
|
|
|
"10": 1,
|
|
|
|
"20": 1,
|
2019-12-16 22:45:36 +00:00
|
|
|
"0": 2,
|
|
|
|
"_merge_strategy": "array_plus"
|
2016-02-05 06:35:54 +00:00
|
|
|
},
|
|
|
|
"CategoryTreeForceHeaders": false,
|
|
|
|
"CategoryTreeSidebarRoot": null,
|
|
|
|
"CategoryTreeHijackPageCategories": false,
|
|
|
|
"CategoryTreeUseCategoryTable": true,
|
|
|
|
"CategoryTreeOmitNamespace": 20,
|
|
|
|
"CategoryTreeDefaultMode": 0,
|
|
|
|
"CategoryTreeDefaultOptions": {
|
|
|
|
"mode": null,
|
|
|
|
"hideprefix": null,
|
|
|
|
"showcount": false,
|
2019-07-29 19:19:36 +00:00
|
|
|
"namespaces": false,
|
|
|
|
"notranslations": false
|
2016-02-05 06:35:54 +00:00
|
|
|
},
|
|
|
|
"CategoryTreeCategoryPageMode": 0,
|
|
|
|
"CategoryTreeCategoryPageOptions": {
|
|
|
|
"mode": null,
|
|
|
|
"showcount": true
|
|
|
|
},
|
|
|
|
"CategoryTreeSpecialPageOptions": {
|
|
|
|
"showcount": true
|
|
|
|
},
|
|
|
|
"CategoryTreeSidebarOptions": {
|
|
|
|
"mode": 0,
|
|
|
|
"hideprefix": 20,
|
|
|
|
"showcount": false,
|
|
|
|
"hideroot": true,
|
|
|
|
"namespaces": false,
|
|
|
|
"depth": 1
|
|
|
|
},
|
|
|
|
"CategoryTreePageCategoryOptions": {
|
|
|
|
"mode": 100,
|
|
|
|
"hideprefix": 20,
|
|
|
|
"showcount": false,
|
|
|
|
"hideroot": false,
|
|
|
|
"namespaces": false,
|
|
|
|
"depth": 0
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"manifest_version": 1
|
|
|
|
}
|