Mercurial > moin > 1.9
comparison MoinMoin/config/multiconfig.py @ 1513:4298764e3cef
use booleans instead of 0/1 in configuration
author | Thomas Waldmann <tw AT waldmann-edv DOT de> |
---|---|
date | Sun, 27 Aug 2006 23:44:42 +0200 |
parents | 0d89219ff974 |
children | 2eb5117aa7de |
comparison
equal
deleted
inserted
replaced
1512:490733f328cf | 1513:4298764e3cef |
---|---|
192 acl_rights_before = u"" | 192 acl_rights_before = u"" |
193 acl_rights_after = u"" | 193 acl_rights_after = u"" |
194 acl_rights_valid = ['read', 'write', 'delete', 'revert', 'admin'] | 194 acl_rights_valid = ['read', 'write', 'delete', 'revert', 'admin'] |
195 | 195 |
196 actions_excluded = [] # ['DeletePage', 'AttachFile', 'RenamePage', 'test', ] | 196 actions_excluded = [] # ['DeletePage', 'AttachFile', 'RenamePage', 'test', ] |
197 allow_xslt = 0 | 197 allow_xslt = False |
198 attachments = None # {'dir': path, 'url': url-prefix} | 198 attachments = None # {'dir': path, 'url': url-prefix} |
199 auth = [authmodule.moin_login, authmodule.moin_session, ] | 199 auth = [authmodule.moin_login, authmodule.moin_session, ] |
200 | 200 |
201 backup_compression = 'gz' | 201 backup_compression = 'gz' |
202 backup_users = [] | 202 backup_users = [] |
208 r"%(/)s(edit-lock|event-log|\.DS_Store)$" % {'/': os.sep}, | 208 r"%(/)s(edit-lock|event-log|\.DS_Store)$" % {'/': os.sep}, |
209 ] | 209 ] |
210 backup_storage_dir = '/tmp' | 210 backup_storage_dir = '/tmp' |
211 backup_restore_target_dir = '/tmp' | 211 backup_restore_target_dir = '/tmp' |
212 | 212 |
213 bang_meta = 1 | 213 bang_meta = True |
214 caching_formats = ['text_html'] | 214 caching_formats = ['text_html'] |
215 changed_time_fmt = '%H:%M' | 215 changed_time_fmt = '%H:%M' |
216 | 216 |
217 # chars_{upper,lower,digits,spaces} see MoinMoin/util/chartypes.py | 217 # chars_{upper,lower,digits,spaces} see MoinMoin/util/chartypes.py |
218 | 218 |
219 # if you have gdchart, add something like | 219 # if you have gdchart, add something like |
220 # chart_options = {'width = 720, 'height': 540} | 220 # chart_options = {'width = 720, 'height': 540} |
221 chart_options = None | 221 chart_options = None |
222 | 222 |
223 config_check_enabled = 0 | 223 config_check_enabled = False |
224 | 224 |
225 cookie_domain = None # use '.domain.tld" for a farm with hosts in that domain | 225 cookie_domain = None # use '.domain.tld" for a farm with hosts in that domain |
226 cookie_path = None # use '/wikifarm" for a farm with pathes below that path | 226 cookie_path = None # use '/wikifarm" for a farm with pathes below that path |
227 cookie_lifetime = 12 # 12 hours from now | 227 cookie_lifetime = 12 # 12 hours from now |
228 cookie_secret = '1234' # secret value for crypting session cookie - you should change this :) | 228 cookie_secret = '1234' # secret value for crypting session cookie - you should change this :) |
312 mail_import_subpage_template = u"$from-$date-$subject" # used for mail import | 312 mail_import_subpage_template = u"$from-$date-$subject" # used for mail import |
313 mail_import_wiki_address = None # the e-mail address for e-mails that should go into the wiki | 313 mail_import_wiki_address = None # the e-mail address for e-mails that should go into the wiki |
314 mail_import_secret = "" | 314 mail_import_secret = "" |
315 | 315 |
316 navi_bar = [u'RecentChanges', u'FindPage', u'HelpContents', ] | 316 navi_bar = [u'RecentChanges', u'FindPage', u'HelpContents', ] |
317 nonexist_qm = 0 | 317 nonexist_qm = False |
318 | 318 |
319 page_credits = [ | 319 page_credits = [ |
320 '<a href="http://moinmoin.wikiwikiweb.de/">MoinMoin Powered</a>', | 320 '<a href="http://moinmoin.wikiwikiweb.de/">MoinMoin Powered</a>', |
321 '<a href="http://www.python.org/">Python Powered</a>', | 321 '<a href="http://www.python.org/">Python Powered</a>', |
322 '<a href="http://validator.w3.org/check?uri=referer">Valid HTML 4.01</a>', | 322 '<a href="http://validator.w3.org/check?uri=referer">Valid HTML 4.01</a>', |
332 page_category_regex = u'^Category[A-Z]' | 332 page_category_regex = u'^Category[A-Z]' |
333 page_dict_regex = u'[a-z0-9]Dict$' | 333 page_dict_regex = u'[a-z0-9]Dict$' |
334 page_group_regex = u'[a-z0-9]Group$' | 334 page_group_regex = u'[a-z0-9]Group$' |
335 page_template_regex = u'[a-z0-9]Template$' | 335 page_template_regex = u'[a-z0-9]Template$' |
336 | 336 |
337 page_license_enabled = 0 | 337 page_license_enabled = False |
338 page_license_page = u'WikiLicense' | 338 page_license_page = u'WikiLicense' |
339 | 339 |
340 # These icons will show in this order in the iconbar, unless they | 340 # These icons will show in this order in the iconbar, unless they |
341 # are not relevant, e.g email icon when the wiki is not configured | 341 # are not relevant, e.g email icon when the wiki is not configured |
342 # for email. | 342 # for email. |
360 } | 360 } |
361 | 361 |
362 refresh = None # (minimum_delay, type), e.g.: (2, 'internal') | 362 refresh = None # (minimum_delay, type), e.g.: (2, 'internal') |
363 rss_cache = 60 # suggested caching time for RecentChanges RSS, in seconds | 363 rss_cache = 60 # suggested caching time for RecentChanges RSS, in seconds |
364 shared_intermap = None # can be string or list of strings (filenames) | 364 shared_intermap = None # can be string or list of strings (filenames) |
365 show_hosts = 1 | 365 show_hosts = True |
366 show_interwiki = 0 | 366 show_interwiki = False |
367 show_login = 1 | 367 show_login = True |
368 show_names = True | 368 show_names = True |
369 show_section_numbers = 0 | 369 show_section_numbers = 0 |
370 show_timings = 0 | 370 show_timings = False |
371 show_version = 0 | 371 show_version = False |
372 siteid = 'default' | 372 siteid = 'default' |
373 stylesheets = [] # list of tuples (media, csshref) to insert after theme css, before user css | 373 stylesheets = [] # list of tuples (media, csshref) to insert after theme css, before user css |
374 superuser = [] # list of unicode user names that have super powers :) | 374 superuser = [] # list of unicode user names that have super powers :) |
375 | 375 |
376 surge_action_limits = {# allow max. <count> <action> requests per <dt> secs | 376 surge_action_limits = {# allow max. <count> <action> requests per <dt> secs |
505 | 505 |
506 unzip_single_file_size = 2.0 * 1000**2 | 506 unzip_single_file_size = 2.0 * 1000**2 |
507 unzip_attachments_space = 200.0 * 1000**2 | 507 unzip_attachments_space = 200.0 * 1000**2 |
508 unzip_attachments_count = 51 # 1 zip file + 50 files contained in it | 508 unzip_attachments_count = 51 # 1 zip file + 50 files contained in it |
509 | 509 |
510 xmlrpc_putpage_enabled = 0 # if 0, putpage will write to a test page only | 510 xmlrpc_putpage_enabled = False # if False, putpage will write to a test page only |
511 xmlrpc_putpage_trusted_only = 1 # if 1, you will need to be http auth authenticated | 511 xmlrpc_putpage_trusted_only = True # if True, you will need to be http auth authenticated |
512 | 512 |
513 SecurityPolicy = None | 513 SecurityPolicy = None |
514 | 514 |
515 def __init__(self, siteid): | 515 def __init__(self, siteid): |
516 """ Init Config instance """ | 516 """ Init Config instance """ |