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.urls import path
9 path('edit/<slug:slug>/<slug:chunk>/', views.editor, name="wiki_editor"),
10 path('edit/<slug:slug>/', views.editor, name="wiki_editor"),
12 path('readonly/<slug:slug>/<slug:chunk>/',
13 views.editor_readonly, name="wiki_editor_readonly"),
14 path('readonly/<slug:slug>/',
15 views.editor_readonly, name="wiki_editor_readonly"),
17 path('gallery/<directory>/', views.gallery, name="wiki_gallery"),
18 path('history/<int:chunk_id>/', views.history, name="wiki_history"),
19 path('rev/<int:chunk_id>/', views.revision, name="wiki_revision"),
20 path('text/<int:chunk_id>/', views.text, name="wiki_text"),
21 path('revert/<int:chunk_id>/', views.revert, name='wiki_revert'),
22 path('diff/<int:chunk_id>/', views.diff, name="wiki_diff"),
23 path('pubmark/<int:chunk_id>/', views.pubmark, name="wiki_pubmark"),
24 path('galleries/', views.galleries),
25 path('set-gallery/<int:chunk_id>/', views.set_gallery),
26 path('set-gallery-start/<int:chunk_id>/', views.set_gallery_start),
27 path('themes', views.themes, name="themes"),
28 path('back/', views.back),
29 path('editor-user-area/', views.editor_user_area),