2 from django.conf.urls import url
7 url(r'^edit/(?P<slug>[^/]+)/(?:(?P<chunk>[^/]+)/)?$',
8 views.editor, name="wiki_editor"),
10 url(r'^readonly/(?P<slug>[^/]+)/(?:(?P<chunk>[^/]+)/)?$',
11 views.editor_readonly, name="wiki_editor_readonly"),
13 url(r'^gallery/(?P<directory>[^/]+)/$',
14 views.gallery, name="wiki_gallery"),
16 url(r'^history/(?P<chunk_id>\d+)/$',
17 views.history, name="wiki_history"),
19 url(r'^rev/(?P<chunk_id>\d+)/$',
20 views.revision, name="wiki_revision"),
22 url(r'^text/(?P<chunk_id>\d+)/$',
23 views.text, name="wiki_text"),
25 url(r'^revert/(?P<chunk_id>\d+)/$',
26 views.revert, name='wiki_revert'),
28 url(r'^diff/(?P<chunk_id>\d+)/$', views.diff, name="wiki_diff"),
29 url(r'^pubmark/(?P<chunk_id>\d+)/$', views.pubmark, name="wiki_pubmark"),
31 url(r'^themes$', views.themes, name="themes"),