[pmwiki-users] proposal for "name" and "group" wildcards
Patrick R. Michaud
pmichaud at pobox.com
Thu Jan 12 00:27:28 CST 2006
On Wed, Jan 11, 2006 at 11:54:19PM +0000, Hans wrote:
> This looks all very good to me. More exciting possibilities opening....
> actually a huge expansion!
>
> The only inconsistency remaining is that name= in pagelist means a
> page name without the group part, but in conditional markup
> (:if name .... :) means the full name with group part.
In conditional markup (:if name ... :) *still* means
the name without the group part, unless the pattern includes
a dot in which case it includes the group. So it's still
consistent:
(:if name SideBar :) page is named "SideBar" (in any group)
(:if name *Index :) page has "Index" at the end (in any group)
(:if name PmWiki.*Index:) page has "Index" at the end in PmWiki group
(:if name PmWiki.* :) page is in PmWiki group
This last version is the same as writing (:if group PmWiki :)
Pm
More information about the pmwiki-users
mailing list