[pmwiki-users] wildcards in pagelist link= option

Patrick R. Michaud pmichaud at pobox.com
Mon Nov 12 16:21:31 CST 2007

At present the link= option only works with a single page
argument, thus to find all of the pages with links to
Category.XYZ, we use:

    (:pagelist link=Category.XYZ :)

A long-requested feature is to have the ability to
use wildcard patterns as options to the link= parameter.
For example, to find all pages with links to Category pages
other than Category.XYZ:

    (:pagelist link=Category.*,-Category.XYZ :)

At http://www.pmwiki.org/wiki/Test/WildcardLinkSyntax I've
drafted a proposed syntax to handle a variety of wildcarded
link= options, both for links going *to* a set of pages and
for links coming *from* a set of pages, and the inverse sets.

The new syntax would also be able to locate arbitrary sets of
"wanted" and "orphan" pages, without the need for a separate
"status=" option (although we might add status= as a shortcut).

Comments and discussion welcome.


More information about the pmwiki-users mailing list