+ url(r'^$', redirect_to, {'url': 'catalogue/'}),
+
+ url(r'^catalogue/$', 'document_list', name='wiki_document_list'),
+ url(r'^catalogue/([^/]+)/$', 'document_list'),
+ url(r'^catalogue/([^/]+)/([^/]+)/$', 'document_list'),
+ url(r'^catalogue/([^/]+)/([^/]+)/([^/]+)$', 'document_list'),
+
+ url(r'^(?P<name>%s)$' % PART,
+ 'editor', name="wiki_editor"),
+
+ url(r'^(?P<name>[^/]+)/readonly$',
+ 'editor_readonly', name="wiki_editor_readonly"),
+
+ url(r'^upload/$',
+ 'upload', name='wiki_upload'),