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": [
|
2021-04-07 22:35:52 +00:00
|
|
|
"MediaWiki\\Extension\\CategoryTree\\Hooks::initialize"
|
2016-02-05 06:35:54 +00:00
|
|
|
],
|
|
|
|
"SpecialPages": {
|
2021-03-12 20:34:50 +00:00
|
|
|
"CategoryTree": {
|
2021-04-07 22:35:52 +00:00
|
|
|
"class": "MediaWiki\\Extension\\CategoryTree\\CategoryTreePage",
|
2021-03-12 20:34:50 +00:00
|
|
|
"services": [
|
|
|
|
"SearchEngineFactory"
|
|
|
|
]
|
|
|
|
}
|
2016-02-05 06:35:54 +00:00
|
|
|
},
|
|
|
|
"APIModules": {
|
2021-04-07 22:35:52 +00:00
|
|
|
"categorytree": "MediaWiki\\Extension\\CategoryTree\\ApiCategoryTree"
|
2016-02-05 06:35:54 +00:00
|
|
|
},
|
|
|
|
"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"
|
|
|
|
},
|
2021-04-07 22:35:52 +00:00
|
|
|
"AutoloadNamespaces": {
|
|
|
|
"MediaWiki\\Extension\\CategoryTree\\": "includes/"
|
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",
|
2021-04-07 22:35:52 +00:00
|
|
|
"callback": "MediaWiki\\Extension\\CategoryTree\\Hooks::getDataForJs"
|
2019-04-04 19:45:27 +00:00
|
|
|
}
|
|
|
|
],
|
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": {
|
2021-04-07 22:35:52 +00:00
|
|
|
"ArticleFromTitle": "MediaWiki\\Extension\\CategoryTree\\Hooks::articleFromTitle",
|
|
|
|
"SpecialTrackingCategories::preprocess": "MediaWiki\\Extension\\CategoryTree\\Hooks::onSpecialTrackingCategoriesPreprocess",
|
|
|
|
"SpecialTrackingCategories::generateCatLink": "MediaWiki\\Extension\\CategoryTree\\Hooks::onSpecialTrackingCategoriesGenerateCatLink",
|
|
|
|
"SkinBuildSidebar": "MediaWiki\\Extension\\CategoryTree\\Hooks::onSkinBuildSidebar",
|
|
|
|
"ParserFirstCallInit": "MediaWiki\\Extension\\CategoryTree\\Hooks::setHooks",
|
|
|
|
"OutputPageMakeCategoryLinks": "MediaWiki\\Extension\\CategoryTree\\Hooks::outputPageMakeCategoryLinks",
|
|
|
|
"BeforePageDisplay": "MediaWiki\\Extension\\CategoryTree\\Hooks::addHeaders",
|
|
|
|
"BeforePageDisplayMobile": "MediaWiki\\Extension\\CategoryTree\\Hooks::addHeaders",
|
|
|
|
"OutputPageParserOutput": "MediaWiki\\Extension\\CategoryTree\\Hooks::parserOutput"
|
2016-02-05 06:35:54 +00:00
|
|
|
},
|
|
|
|
"config": {
|
2020-05-12 00:20:12 +00:00
|
|
|
"CategoryTreeMaxChildren": {
|
|
|
|
"value": 200
|
|
|
|
},
|
|
|
|
"CategoryTreeAllowTag": {
|
|
|
|
"value": true
|
|
|
|
},
|
|
|
|
"CategoryTreeDisableCache": {
|
|
|
|
"value": 21600
|
|
|
|
},
|
2016-02-05 06:35:54 +00:00
|
|
|
"CategoryTreeMaxDepth": {
|
2020-05-12 00:20:12 +00:00
|
|
|
"value": {
|
|
|
|
"10": 1,
|
|
|
|
"20": 1,
|
2020-05-12 17:49:38 +00:00
|
|
|
"0": 2
|
2020-05-12 00:20:12 +00:00
|
|
|
},
|
|
|
|
"merge_strategy": "array_plus"
|
|
|
|
},
|
|
|
|
"CategoryTreeForceHeaders": {
|
|
|
|
"value": false
|
|
|
|
},
|
|
|
|
"CategoryTreeSidebarRoot": {
|
|
|
|
"value": null
|
|
|
|
},
|
|
|
|
"CategoryTreeHijackPageCategories": {
|
|
|
|
"value": false
|
|
|
|
},
|
|
|
|
"CategoryTreeUseCategoryTable": {
|
|
|
|
"value": true
|
|
|
|
},
|
|
|
|
"CategoryTreeOmitNamespace": {
|
|
|
|
"value": 20
|
|
|
|
},
|
|
|
|
"CategoryTreeDefaultMode": {
|
|
|
|
"value": 0
|
|
|
|
},
|
2016-02-05 06:35:54 +00:00
|
|
|
"CategoryTreeDefaultOptions": {
|
2020-05-12 00:20:12 +00:00
|
|
|
"value": {
|
|
|
|
"mode": null,
|
|
|
|
"hideprefix": null,
|
|
|
|
"showcount": false,
|
|
|
|
"namespaces": false,
|
|
|
|
"notranslations": false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"CategoryTreeCategoryPageMode": {
|
|
|
|
"value": 0
|
2016-02-05 06:35:54 +00:00
|
|
|
},
|
|
|
|
"CategoryTreeCategoryPageOptions": {
|
2020-05-12 00:20:12 +00:00
|
|
|
"value": {
|
|
|
|
"mode": null,
|
|
|
|
"showcount": true
|
|
|
|
}
|
2016-02-05 06:35:54 +00:00
|
|
|
},
|
|
|
|
"CategoryTreeSpecialPageOptions": {
|
2020-05-12 00:20:12 +00:00
|
|
|
"value": {
|
|
|
|
"showcount": true
|
|
|
|
}
|
2016-02-05 06:35:54 +00:00
|
|
|
},
|
|
|
|
"CategoryTreeSidebarOptions": {
|
2020-05-12 00:20:12 +00:00
|
|
|
"value": {
|
|
|
|
"mode": 0,
|
|
|
|
"hideprefix": 20,
|
|
|
|
"showcount": false,
|
|
|
|
"hideroot": true,
|
|
|
|
"namespaces": false,
|
|
|
|
"depth": 1
|
|
|
|
}
|
2016-02-05 06:35:54 +00:00
|
|
|
},
|
|
|
|
"CategoryTreePageCategoryOptions": {
|
2020-05-12 00:20:12 +00:00
|
|
|
"value": {
|
|
|
|
"mode": 100,
|
|
|
|
"hideprefix": 20,
|
|
|
|
"showcount": false,
|
|
|
|
"hideroot": false,
|
|
|
|
"namespaces": false,
|
|
|
|
"depth": 0
|
|
|
|
}
|
2016-02-05 06:35:54 +00:00
|
|
|
}
|
|
|
|
},
|
2020-05-12 00:20:12 +00:00
|
|
|
"manifest_version": 2
|
2016-02-05 06:35:54 +00:00
|
|
|
}
|