01252: Add category= parameter to [[PmWiki/PageLists]]

Summary: Add category= parameter to PageLists
Created: 2011-05-18 17:01
Status: Closed
Category: Feature
From: simon
Priority: 4
Version: any
OS: all

Description: Add a ability to select pages by category in PageLists.




This is already possible for a single category: (:pagelist link=Category.workgroup:) The ability to specify a list of pages and negations seems useful, but wouldn't that be better added to the link parameter rather than creating a new parameter just for Category? - RandyB May 18, 2011, at 08:24 PM

You might be right, I was thinking of category as being a tag (which it is). That would partially be PITS.01246 Allow negation of link parameter in pagelist and PITS.00908 Enhance the link parameter of page list (multiple and exclusions). What if the page Category.workgroup does not exist, does link= still work? simon May 19, 2011, at 04:22 PM

Yes, it does.

(:pagelist link=Category.Nonexisting list=all fmt=count:)

Nonexisting 1

- RandyB May 19, 2011, at 06:13 PM