[pmwiki-users] pagelist group exclusion doesn't work

Hans design at softflow.co.uk
Fri Jan 20 16:53:02 CST 2006


Friday, January 20, 2006, 8:46:32 PM, Martin wrote:
> On Fri, Jan 20, 2006 at 02:29:35PM -0600, James Davis wrote:
>> It appears that this:
>> 
>> (:pagelist group= -PmWiki -PmWikiDe:)
>> 
>> doesn't work in pmwiki-2.1.beta20.
>> 
>> BrBrBr noted on
>> http://www.pmwiki.org/wiki/PmWiki/Directives#pagelist
>> that it need to be groups= but it looks like groups= is actually
>> ignored, and it only appears to work because the entire page including
>> the group name is matched. If, for example, you had a page in group Foo
>> that contained the text PmWiki or PmWikiDe it would not show up in the
>> list.

> I'm not sure if it works, but the proper syntax I believe is:

> (:pagelist group="-PmWiki -PmWikiDe":)


> For a single group this should do (notice no space):
> (:pagelist group=-PmWiki:)

> For spaces to get the second group, you need the quotes.

I think James is correct, and Martin's syntax does not work.
You cannot exclude groups or pages from pagelist output.
You can only exclude pages which do carry a searchterm, by having a
minus in front of the term.

I think Martin got confused with what is proposed by Pm for a future
pagelist syntax. It is not yet implemented.


Best, 
~Hans                           






More information about the pmwiki-users mailing list