Description

In order to work around MoinMoinBugs/CategoryTemplateIsTemplateOrCategory, I set page_category_regex to (?P<all>Category(?P<key>(?!Template)\S+)).

This prevents CategoryTemplate from showing up in the list of categories shown when editing a page; but it still shows up in the list on CategoryCategory.

This is because that page simply does <<PageList(regex:^Category.*)>> rather than calling a macro that uses the page_category_regex.

Steps to reproduce

  1. Set page_category_regex = (?P<all>Category(?P<key>(?!Template)\S+))

  2. Visit CategoryCategory

Component selection

Details

MoinMoin Version

1.7.0

OS and Version

Debian GNU/Linux 4.0 ("etch")

Python Version

2.4.4

Server Setup

Apahe 2.2

Server Details

using mod_fcgid

Language you are using the wiki in (set in the browser/UserPreferences)

english

Workaround

Edit CategoryCategory so that its regular expression excludes CategoryTemplate too (if possible).

Discussion

Plan


CategoryMoinMoinBugFixed

MoinMoin: MoinMoinBugs/CategoryCategoryPageDoesNotUseRegexFromConfig (last edited 2008-07-10 15:47:10 by ThomasWaldmann)