#388: change rdf:about links,
[redakcja.git] / apps / wiki / urls.py
1 # -*- coding: utf-8
2 from django.conf.urls.defaults import *
3
4
5 urlpatterns = patterns('wiki.views',
6     url(r'^edit/(?P<slug>[^/]+)/(?:(?P<chunk>[^/]+)/)?$',
7         'editor', name="wiki_editor"),
8
9     url(r'^readonly/(?P<slug>[^/]+)/(?:(?P<chunk>[^/]+)/)?$',
10         'editor_readonly', name="wiki_editor_readonly"),
11
12     url(r'^gallery/(?P<directory>[^/]+)/$',
13         'gallery', name="wiki_gallery"),
14
15     url(r'^history/(?P<chunk_id>\d+)/$',
16         'history', name="wiki_history"),
17
18     url(r'^rev/(?P<chunk_id>\d+)/$',
19         'revision', name="wiki_revision"),
20
21     url(r'^text/(?P<chunk_id>\d+)/$',
22         'text', name="wiki_text"),
23
24     url(r'^revert/(?P<chunk_id>\d+)/$',
25         'revert', name='wiki_revert'),
26
27     url(r'^diff/(?P<chunk_id>\d+)/$', 'diff', name="wiki_diff"),
28     url(r'^pubmark/(?P<chunk_id>\d+)/$', 'pubmark', name="wiki_pubmark"),
29
30     url(r'^themes$', 'themes', name="themes"),
31 )