SearchPatterns-Talk

Summary: Talk page for SearchPatterns.
Maintainer:
Users: +1 (View / Edit)

This space is for User-contributed commentary and notes. Please include your name and a date along with your comment.

Exclude pages where "group" == "name"

Is there any way to exclude from pagelist all pages with name=group, like Main.Main, Cookbook.Cookbook ect.? Finar April 30, 2020, at 01:48 PM

You can add to config.php $SearchPatterns['default'][] = '!^(.*?)\\.\\1$!'; to exclude pages that have names like their groups like Group.Group. Note that the default pagelist template will include a link to [[Group/]] before listing the results from a group. (Search and Pagelists are the same for PmWiki). --Petko April 30, 2020, at 04:07 PM

Talk page for the SearchPatterns recipe (users).