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
- I've updatet my wiki to version 1.8.0
Example
Component selection
- general
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!
Ok, did you know that you also have to clean the page cache if you changed the page_group_regex? In the example above it is also wrong. Please stop the wiki before calling moin ... maint cleancache, see HelpOnMoinCommand -- ReimarBauer 2009-01-13 20:38:21
Plan
- Priority:
- Assigned to:
- Status: CLOSED