[pmwiki-users] I want to know if it is normal
Patrick R. Michaud
pmichaud at pobox.com
Wed Feb 7 09:12:55 CST 2007
On Wed, Feb 07, 2007 at 04:04:58PM +0100, SMETS Stephane BKS-IT wrote:
> I'am working on pagelist and I see this :
>
> (adapted to a markup you can run on pmwiki.org because my site is an
> intranet)
>
> I want to filter the pagelist result based on page's name.
>
> First case : all files beginnig with Ba and not beginning with Back
>
> This is the markup
>
> (:pagelist group=Cookbook name=Ba* -Back* :)
This says to give all of the pages beginning with 'Ba' that do not
contain the phrase 'Back*'. In other words, "-Back*" is being treated
as a search term instead of as an additional argument to the name=
parameter. It's the same as writing:
(:pagelist group=Cookbook -Back* name=Ba* :)
Instead, you need to use something like
(:pagelist group=Cookbook name=Ba*,-Back* :)
or
(:pagelist group=Cookbook name="Ba* -Back*" :)
> Second case double include filter I want to have the files beginning with
> the A and files beginning with the letter B
>
> (:pagelist group=Cookbook name=A* B* :)
Use one of:
(:pagelist group=Cookbook name=A*,B* :)
(:pagelist group=Cookbook name="A* B*" :)
(:pagelist group=Cookbook name=[AB]* :)
> On my wiki, I want to have a pagelist like this
>
> (:pagelist group=Cookbook name=*{=$Year}{=$Month} *Disks *Backups :)
(:pagelist group=Cookbook, name=*{=$Year}{=$Month},*Disks,*Backups :)
Pm
More information about the pmwiki-users
mailing list