[Pmwiki-users] Exclude a group from search

Patrick R. Michaud pmichaud
Mon Mar 1 12:26:42 CST 2004


On Mon, Mar 01, 2004 at 01:31:40PM -0000, Pmwiki-users-bounces at pmichaud.com wrote:
> Is it possible to exclude a group from a search?  I.E. search every group
> except PmWiki/?

>From the search box itself, no.  However, a site administrator can
add '/^PmWiki\\./' to $SearchExcludePatterns and the group will be
excluded from searches:

   $SearchExcludePatterns[] = '/^PmWiki\\./';

You can also exclude the RecentChanges pages from searches with:

   $SearchExcludePatterns[] = '/\\.(All)?RecentChanges$/';

Pm





More information about the pmwiki-users mailing list