1 # This file is part of FNP-Redakcja, licensed under GNU Affero GPLv3 or later.
2 # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
4 from django.conf.urls import url
9 url(r'^edit/(?P<slug>[^/]+)/(?:(?P<chunk>[^/]+)/)?$',
10 views.editor, name="wiki_editor"),
12 url(r'^readonly/(?P<slug>[^/]+)/(?:(?P<chunk>[^/]+)/)?$',
13 views.editor_readonly, name="wiki_editor_readonly"),
15 url(r'^gallery/(?P<directory>[^/]+)/$',
16 views.gallery, name="wiki_gallery"),
18 url(r'^history/(?P<chunk_id>\d+)/$',
19 views.history, name="wiki_history"),
21 url(r'^rev/(?P<chunk_id>\d+)/$',
22 views.revision, name="wiki_revision"),
24 url(r'^text/(?P<chunk_id>\d+)/$',
25 views.text, name="wiki_text"),
27 url(r'^revert/(?P<chunk_id>\d+)/$',
28 views.revert, name='wiki_revert'),
30 url(r'^diff/(?P<chunk_id>\d+)/$', views.diff, name="wiki_diff"),
31 url(r'^pubmark/(?P<chunk_id>\d+)/$', views.pubmark, name="wiki_pubmark"),
33 url(r'^themes$', views.themes, name="themes"),
35 url(r'^back/$', views.back),
36 url(r'^editor-user-area/$', views.editor_user_area),