comparison wiki/config/wikiconfig.py @ 0:77665d8e2254

tag of nonpublic@localhost--archive/moin--enterprise--1.5--base-0 (automatically generated log message) imported from: moin--main--1.5--base-0
author Thomas Waldmann <tw-public@gmx.de>
date Thu, 22 Sep 2005 15:09:50 +0000
parents
children f0af060fb82b
comparison
equal deleted inserted replaced
-1:000000000000 0:77665d8e2254
1 # -*- coding: iso-8859-1 -*-
2 # IMPORTANT! This encoding (charset) setting MUST be correct! If you live in a
3 # western country and you don't know that you use utf-8, you probably want to
4 # use iso-8859-1 (or some other iso charset). If you use utf-8 (a Unicode
5 # encoding) you MUST use: coding: utf-8
6 # That setting must match the encoding your editor uses when you modify the
7 # settings below. If it does not, special non-ASCII chars will be wrong.
8
9 """
10 MoinMoin - Configuration for a single wiki
11
12 If you run a single wiki only, you can omit the farmconfig.py config
13 file and just use wikiconfig.py - it will be used for every request
14 we get in that case.
15
16 Note that there are more config options than you'll find in
17 the version of this file that is installed by default; see
18 the module MoinMoin.multiconfig for a full list of names and their
19 default values.
20
21 Also, the URL http://moinmoin.wikiwikiweb.de/HelpOnConfiguration has
22 a list of config options.
23
24 @copyright: 2000-2005 by Juergen Hermann <jh@web.de>
25 @license: GNU GPL, see COPYING for details.
26 """
27
28 from MoinMoin.multiconfig import DefaultConfig
29
30
31 class Config(DefaultConfig):
32
33 # Wiki identity ----------------------------------------------------
34
35 # Site name, used by default for wiki name-logo [Unicode]
36 sitename = u'Untitled Wiki'
37
38 # Wiki logo. You can use an image, text or both. [Unicode]
39 # Example: u'<img src="/wiki/mywiki.png" alt="My Wiki">My Wiki'
40 # For no logo or text, use ''
41 logo_string = sitename
42
43 # The interwiki name used in interwiki links
44 interwikiname = None
45
46
47 # Critical setup ---------------------------------------------------
48
49 # Misconfiguration here will render your wiki unusable. Check that
50 # all directories are accessible by the web server or moin server.
51
52 # If you encounter problems, try to set data_dir and data_underlay_dir
53 # to absolute paths.
54
55 # Where your mutable wiki pages are. You want to make regular
56 # backups of this directory.
57 data_dir = './data/'
58
59 # Where read-only system and help page are. You might want to share
60 # this directory between several wikis. When you update MoinMoin,
61 # you can safely replace the underlay directory with a new one. This
62 # directory is part of MoinMoin distribution, you don't have to
63 # backup it.
64 data_underlay_dir = './underlay/'
65
66 # This must be '/wiki' for twisted and standalone. For CGI, it should
67 # match your Apache Alias setting.
68 url_prefix = '/wiki'
69
70
71 # Security ----------------------------------------------------------
72
73 # IMPORTANT: grant yourself admin rights! replace YourName with
74 # your user name. See HelpOnAccessControlLists for more help.
75 # All acl_rights_xxx options must use unicode [Unicode]
76 #acl_rights_before = u"YourName:read,write,delete,revert,admin"
77
78 # Link spam protection for public wikis (Uncomment to enable)
79 # Needs a reliable internet connection.
80 #from MoinMoin.util.antispam import SecurityPolicy
81
82
83 # Mail --------------------------------------------------------------
84
85 # Configure to enable subscribing to pages (disabled by default)
86 # or sending forgotten passwords.
87
88 # SMTP server, e.g. "mail.provider.com" (empty or None to disable mail)
89 mail_smarthost = ""
90
91 # The return address, e.g "My Wiki <noreply@mywiki.org>"
92 mail_from = ""
93
94 # "user pwd" if you need to use SMTP AUTH
95 mail_login = ""
96
97
98 # User interface ----------------------------------------------------
99
100 # Add your wikis important pages at the end. It is not recommended to
101 # remove the default links. Leave room for user links - don't use
102 # more than 6 short items.
103 # You MUST use Unicode strings here, but you need not use localized
104 # page names for system and help pages, those will be used automatically
105 # according to the user selected language. [Unicode]
106 navi_bar = [
107 # Will use page_front_page, (default FrontPage)
108 u'%(page_front_page)s',
109 u'RecentChanges',
110 u'FindPage',
111 u'HelpContents',
112 ]
113
114 # The default theme anonymous or new users get
115 theme_default = 'modern'
116
117
118 # Language options --------------------------------------------------
119
120 # See http://moinmoin.wikiwikiweb.de/ConfigMarket for configuration in
121 # YOUR language that other people contributed.
122
123 # The main wiki language, set the direction of the wiki pages
124 default_lang = 'en'
125
126 # You must use Unicode strings here [Unicode]
127 page_category_regex = u'^Category[A-Z]'
128 page_dict_regex = u'[a-z]Dict$'
129 page_form_regex = u'[a-z]Form$'
130 page_group_regex = u'[a-z]Group$'
131 page_template_regex = u'[a-z]Template$'
132
133 # Content options ---------------------------------------------------
134
135 # Show users hostnames in RecentChanges
136 show_hosts = 1
137
138 # Charts size, require gdchart (Set to None to disable).
139 chart_options = {'width': 600, 'height': 300}
140
141