Topic on Extension talk:CategoryTree

How to set depth to 1 on category pages?

3
Stefahn (talkcontribs)

If I use the <categorytree> tag, the first level of the tree is shown, that means the given category is expanded. That corresponds to depth = 1 (default).

But on category pages the subcategories are not expanded, that means depth is somehow set to 0. How can I set the depth to 1 for category pages?

Thanks for any help!

Tacsipacsi (talkcontribs)
Stefahn (talkcontribs)

Thanks for the hint. Is there a docu how to set $wgCategoryTreeCategoryPageOptions, do I just assign a number to it or are there different modes?

Reply to "How to set depth to 1 on category pages?"