""" MoinMoin - Sitewide (wiki farm) Configuration Copyright (c) 2002 Ark Linux <arklinux@arklinux.org> Based on default moin_config.py from MoinMoin CVS: Copyright (c) 2000-2002 by Jürgen Hermann <jh@web.de> All rights reserved, see COPYING for details. Note that there are more config options than you'll find in the version of this file that is installed by default; see the module MoinMoin.config for a full list of names and their default values. Also, the URL http://purl.net/wiki/moin/HelpOnConfiguration has a list of config options. """ __version__ = "1.0" # basic options (you normally need to override these) sitename = 'A MoinMoin Wiki on Ark Linux' interwikiname = None data_dir = './data/' url_prefix = '/wiki' logo_url = url_prefix + '/img/moinmoin.gif' # encoding and WikiName char sets # (change only for outside America or Western Europe) charset = 'iso-8859-15' upperletters = "A-ZÀÁÂÃÄÅÆÈÉÊËÌÍÎÏÒÓÔÕÖØÙÚÛÜÝÇÐÑÞ" lowerletters = "0-9a-zàáâãäåæèéêëìíîïòóôõöøùúûüýÿµßçðñþ" # options people are likely to change due to personal taste show_hosts = 1 # show hostnames? nonexist_qm = 0 # show '?' for nonexistent? backtick_meta = 1 # allow `inline typewriter`? allow_extended_names = 1 # allow ["..."] markup? edit_rows = 20 # editor size max_macro_size = 50 # max size of RecentChanges in KB (0=unlimited) bang_meta = 1 # use ! to escape WikiNames? show_section_numbers = 1 # enumerate headlines? # charting needs "gdchart" installed! # you can remove the test and gain a little speed (i.e. keep only # the chart_options assignment, or remove this code section altogether) try: import gdchart chart_options = {'width': 720, 'height': 400} except ImportError: pass # values that depend on above configuration settings logo_string = '<img src="%s" border="0" alt="%s" />' % (logo_url, sitename) css_url = url_prefix + '/css/moinmoin.css' # stylesheet link, or '' html_head = """ <META HTTP-EQUIV="Content-Type" CONTENT="text/html;charset=%s"> """ % (charset,) page_footer1 = """ <hr/><a href="http://www.arklinux.org/"><img align="right" hspace="8" vspace="8" src="%s/img/poweredby.png" width="193" height="45" border="0" alt="Powered by Ark Linux" /></a>""" % (url_prefix,) allowed_actions = ['AttachFile']