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",
|
|
|
|
"ConfigRegistry": {
|
|
|
|
"categorytree": "GlobalVarConfig::newInstance"
|
|
|
|
},
|
|
|
|
"ExtensionFunctions": [
|
|
|
|
"CategoryTreeHooks::initialize"
|
|
|
|
],
|
|
|
|
"SpecialPages": {
|
|
|
|
"CategoryTree": "CategoryTreePage"
|
|
|
|
},
|
|
|
|
"APIModules": {
|
|
|
|
"categorytree": "ApiCategoryTree"
|
|
|
|
},
|
|
|
|
"MessagesDirs": {
|
|
|
|
"CategoryTree": [
|
|
|
|
"i18n"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"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": {
|
|
|
|
"scripts": "ext.categoryTree.js",
|
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
|
|
|
]
|
|
|
|
},
|
|
|
|
"ext.categoryTree.css": {
|
2017-07-26 19:16:24 +00:00
|
|
|
"targets": [
|
|
|
|
"desktop",
|
|
|
|
"mobile"
|
|
|
|
],
|
2016-02-05 06:35:54 +00:00
|
|
|
"styles": "ext.categoryTree.css"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"ResourceFileModulePaths": {
|
|
|
|
"localBasePath": "modules",
|
|
|
|
"remoteExtPath": "CategoryTree/modules"
|
|
|
|
},
|
|
|
|
"Hooks": {
|
|
|
|
"ArticleFromTitle": [
|
|
|
|
"CategoryTreeHooks::articleFromTitle"
|
2016-11-13 14:57:16 +00:00
|
|
|
],
|
|
|
|
"SpecialTrackingCategories::preprocess": [
|
|
|
|
"CategoryTreeHooks::onSpecialTrackingCategoriesPreprocess"
|
|
|
|
],
|
|
|
|
"SpecialTrackingCategories::generateCatLink": [
|
|
|
|
"CategoryTreeHooks::onSpecialTrackingCategoriesGenerateCatLink"
|
2018-04-16 06:41:38 +00:00
|
|
|
],
|
|
|
|
"SkinTemplateOutputPageBeforeExec": "CategoryTreeHooks::skinTemplateOutputPageBeforeExec",
|
|
|
|
"MakeGlobalVariablesScript": "CategoryTreeHooks::getConfigVars",
|
|
|
|
"ParserFirstCallInit": "CategoryTreeHooks::setHooks",
|
|
|
|
"OutputPageMakeCategoryLinks": "CategoryTreeHooks::outputPageMakeCategoryLinks",
|
|
|
|
"SkinJoinCategoryLinks": "CategoryTreeHooks::skinJoinCategoryLinks",
|
|
|
|
"BeforePageDisplay": "CategoryTreeHooks::addHeaders",
|
|
|
|
"BeforePageDisplayMobile": "CategoryTreeHooks::addHeaders",
|
|
|
|
"OutputPageParserOutput": "CategoryTreeHooks::parserOutput"
|
2016-02-05 06:35:54 +00:00
|
|
|
},
|
|
|
|
"config": {
|
|
|
|
"CategoryTreeMaxChildren": 200,
|
|
|
|
"CategoryTreeAllowTag": true,
|
|
|
|
"CategoryTreeDisableCache": 21600,
|
|
|
|
"CategoryTreeHTTPCache": false,
|
|
|
|
"CategoryTreeMaxDepth": {
|
|
|
|
"10": 1,
|
|
|
|
"20": 1,
|
|
|
|
"0": 2
|
|
|
|
},
|
|
|
|
"CategoryTreeForceHeaders": false,
|
|
|
|
"CategoryTreeSidebarRoot": null,
|
|
|
|
"CategoryTreeHijackPageCategories": false,
|
|
|
|
"CategoryTreeUseCategoryTable": true,
|
|
|
|
"CategoryTreeOmitNamespace": 20,
|
|
|
|
"CategoryTreeDefaultMode": 0,
|
|
|
|
"CategoryTreeDefaultOptions": {
|
|
|
|
"mode": null,
|
|
|
|
"hideprefix": null,
|
|
|
|
"showcount": false,
|
|
|
|
"namespaces": false
|
|
|
|
},
|
|
|
|
"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
|
|
|
|
}
|