[pmwiki-users] (:pagelist group=...:) seems broken

Patrick R. Michaud pmichaud at pobox.com
Mon Apr 11 16:07:08 CDT 2005


On Mon, Apr 11, 2005 at 10:58:19PM +0200, Joachim Durchholz wrote:
> 
> Funny. The docs on http://www.pmwiki.org/wiki/PmWiki/Directives#pagelist 
> give me that group= syntax.

I didn't write (nor have I reviewed) those docs, sorry.

> >    $SearchPatterns['normal'][] = '!^(PmWiki|PmWikiDe|Test|Main)\\.!';
> 
> I'd rather try to avoid overloading existing standard ways of doing 
> things. How about the following:
> 
>   (:pagelist list=special:)
> 
> How would I do that?

# same settings as fmt='normal'
$SearchPatterns['special'][] = '!\.(All)?Recent(Changes|Uploads)$!';
$SearchPatterns['special'][] = '!\.Group(Print)?(Header|Footer|Attributes)$!';
# additional settings for excluding special groups
$SearchPatterns['special'][] = '!^(PmWiki|PmWikiDe|Test|Main)\\.!';

Pm



More information about the pmwiki-users mailing list