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