[WIKI]
IndexContent = """Welcome to Uliweb wiki
=======================

This app is developed by Limodou.

Hope you enjoy it!
"""
MENUS = [
    ('Index', _('Home'), '/wiki'),
    ('_History_', _('History'), ''),
    ('_Pages_', _('Pages'), '/wiki?pages=1'),
    ('_Code_', _('Source'), ''),
]
WIKI_ACL_DEFAULT = '+[role]trusted:read,write +[role]superuser:read,write,delete,revert,admin All:read'
WIKI_ACL_LIST = [
    ('read', _('Read')),
    ('write', _('Write')),
    ('delete', _('Delete')),
    ('revert', _('Revert')),
    ('admin', _('Admin')),
]
WIKI_VISITED_TIMEOUT = 10*60
WIKI_REVISION_NUM = 20
WIKI_PAGE_CACHED = True
WIKI_EDIT_CHECK_TIMEDELTA = 10*60

#[WIKI_ACL_TYPES]
#group = 'wiki.views.match_group'

[WIKI_ACL_ALIAS]
all = 'read,write,delete,revert,admin'

[MODELS]
wikipage = 'plugs.wiki.models.WikiPage'
wikichangeset = 'plugs.wiki.models.WikiChangeSet'

[Generic_Attachment_Save_Dirs]
#format tablename = "dir"
wikipage = 'wiki'
