Issue:Respect hidden categories

From FollowTheScore
Revision as of 17:24, 29 September 2009 by Gero (talk | contribs)
Jump to: navigation, search
Description: DPL should suppress hidden categories from category displays, such as ordermethod=category,titlewithoutnamespace
Extension / Version: DPL   /   1.8.8
Type / Status: Change Request   /   open

Problem

Please provide an option to make DPL respect hidden categories. Any feature that would display a list of categories would omit the hidden ones. For example:

<dpl>
...
ordermethod = category,titlewithoutnamespace
showhiddencategories = false                -- NEW KEYWORD
</dpl>


Reply

Maybe I could add something like hiddencategories = include (=default) / exclude / only.

But I do not understand how the selection should work. If you select by a category then you should know beforehand if the cat is hidden or not .. If you do not select by a category you may or my not get pages that are assigned to hidden categories.

But probably you have im mind that it should be a display option only? In this case: what should one do with a page that is ONLY part of a hidden category? What contents should the built-in variables %CATNAMES% and %CATLIST% have?

I suggest that you create an example here and describe the desired behaviour in detail.

Gero 16:24, 29 September 2009 (UTC)