[pmwiki-users] Dur: How to find all the pages which link TO a page?

Patrick R. Michaud pmichaud at pobox.com
Tue Sep 13 08:00:10 CDT 2005

On Tue, Sep 13, 2005 at 08:49:53AM -0400, DaveG wrote:
> >and this will exclude pages in the PmWiki group, the Site group,
> >*.RecentChanges, *.AllRecentChanges, etc.
> Using :
>    (:pagelist link={$FullName} fmt=bygroup list=normal :)
> list=normal does not appear to exclude PmWiki pages (it does exclude the 
> others) -- ref: 
> http://www.solidgone.com/pmwiki/index.php?n=Main.WikiSandbox.

Ah, you're correct.  Sorry about that.

> Also http://www.pmwiki.org/wiki/PmWiki/Directives#pagelist states that 
> groups can be excluded, although it doesn't actually work. Is that just 
> a doc error?

It's a documentation error -- as written there it will exclude
all pages containing the word "PmWiki" in the text.  The correct 
syntax for excluding groups, when it's available, will be:

    (:pagelist group=-PmWiki:)     # display all pages except in PmWiki group

I'll see about adding the exclude group option soon; it's a
frequently requested feature.  While I'm at it, I may see about
fixing up the pagelist.php code to make it easier for others to
add their own search algorithms and optimizations without having
to modify or replace pagelist.php.

It's also possible to create custom list= options, see
http://www.pmwiki.org/wiki/Cookbook/SearchResults .


More information about the pmwiki-users mailing list