Description

There are no chooseable templates when I create a new page. The list with the templates is empty. Is this beacouse of the page_template_regex???
This is my wikiconfig (I've taken all the irrelevant things out):

    language_default = 'de'

    page_category_regex = u'^Category([A-Z].*)'
    page_dict_regex = u'[a-z]Dict$'
    page_form_regex = u'[a-z]Form$'
    page_group_regex = u'[a-z]Group$'
    page_template_regex = u'[a-z]Template$'

    surge_action_limits = None  

    show_hosts = 1                  

Steps to reproduce

  1. I've updatet my wiki to version 1.8.0

Example

screenshot.jpg

Component selection

Details

MoinMoin Version

1.8.0

OS and Version

Windows Server 2000

Python Version

Python 2.5

Server Setup

---

Server Details

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

german

Workaround

Discussion

Please read docs/CHANGES about page_*_regex changes.

Yes, thats it! Thank you very much! I've changed page_template_regex = u'[a-z]Template$' to page_template_regex = ur'(?P<all>(?P<key>\S+)Template)' Now it works again!

Plan


CategoryMoinMoinNoBug

MoinMoin: MoinMoinBugs/1.8NoTemplatesWhenCreatingNewPage (last edited 2009-01-13 20:38:50 by ReimarBauer)