wiki: Allow dashes in page names.

This commit is contained in:
Andre D
2013-05-08 15:40:25 -07:00
committed by Neil Williams
parent 24a4511beb
commit 1ae0ad796b

View File

@@ -177,7 +177,7 @@ def normalize_page(page):
class AbortWikiError(Exception):
pass
page_match_regex = re.compile(r'^[\w_/]+\Z')
page_match_regex = re.compile(r'^[\w_\-/]+\Z')
class VWikiModerator(VSrModerator):
def __init__(self, fatal=False, *a, **kw):