01544: Conditional markup for 'category'

Summary: Conditional markup for 'category'
Created: 2026-03-20 02:06
Status: Open
Category: Feature
From: simon
Assigned:
Priority: 3
Version: latest
OS: n/a

Description: PmWiki recently added the pagelist parameter "category=".

This feature request is to extend this functionality to conditional markup.

The markup would return true if a page is tagged with a category specified, e.g.

(:if category tag1,tag2 PAGENAME :)

PAGENAME has one or more categories among the specified. A pagename can be omitted, in that case the current page is implied.
Multiple pages can be specified with commas or wildcards, and excluded with minus, e.g. *RecentChanges,-Main.RecentChanges
If used in a sidebar, header, or footer, and the PAGENAME is not specified, the condition applies to the main page.

simon