qswiki/setup/config

36 řádky
1.4 KiB
Plaintext
Surový Normální zobrazení Historie

2018-11-03 17:12:20 +01:00
wikiname NameOfWiki
wikipath /
templatepath /path/to/template
logfile /path/to/template/logfile
csspath /static/style.css
query_limit 200
session_max_lifetime 600
connectionstring /path/to/sqlite.db
anon_username anonymouse
max_pagename_length 256
fs_cache_dir /var/tmp/qswiki/
linkindex ?action=show&page=index
linkrecent ?action=recent
linkrecentsort wiki?action=recent&limit={limit}&offset={offset}&sort={sort}
linkallpages ?action=allpages
linkallcats ?action=allcategories
linkshere wiki?action=linkshere&page={page}
linkpage wiki?action=show&page={page}
linkrevision wiki?action=show&page={page}&revision={revisionid}
linkhistory ?action=recent&page={page}
linkhistorysort wiki?action=recent&page={page}&limit={limit}&offset={offset}&sort={sort}
linkedit wiki?action=edit&page={page}
linksettings wiki?action=settings&page={page}
linkdelete wiki?action=delete&page={page}
linklogin wiki?action=login
linklogout wiki?action=logout&token=%s
linkcategory wiki?action=showcat&category={category}
loginurl wiki?action=login&submit=1&page={page}
actionurl wiki?action=%s&page={page}
settingsurl wiki?action=settings&page={page}
deletionurl wiki?action=delete&page={page}
refreshsessionurl wiki?action=refreshsession
adminregisterurl wiki?action=adminregister
userchangepwurl wiki?action=userchangepw
anon_permissions can_read,can_global_history,can_page_history,can_see_page_list,can_see_category_list,can_see_links_here,can_search