Description
Group names using non-ASCII characters aren't recognized by "wikidicts" crawler, and thus aren't created.
Steps to reproduce
- Change "page_group_regex" to some non-ASCII'sh value.
- Create some page with name that matches this regex.
- Be pissed off by ACL failure when using this group's name.
Example
Russian example (get your unicode ready).
wikiconfig.py: {{{!# python
- page_group_regex = u'^Группа[\w]'
}}}
Then, page named "ГруппаМенеджмент" isn't recognized.
Component selection
wikiacl.py: {{{!# python
- group_re = re.compile(cfg.page_group_regex)
}}}
obviously, re.UNICODE flag is missing.
Details
MoinMoin Version |
1.5.6 (1.5.7 too) |
OS and Version |
Some Debian |
Python Version |
2.3 |
Server Setup |
- |
Server Details |
- |
Language you are using the wiki in (set in the browser/UserPreferences) |
Russian |
Workaround
Patch wikiacl.py:
{{{!# python
- group_re = re.compile(cfg.page_group_regex, re.U)
}}}
Discussion
Plan
- Priority:
- Assigned to:
- Status: fixed in 1.6, fixed in 1.5 by changeset 827: f6347a4ecba7