diff MoinMoin/config/multiconfig.py @ 1752:6f8360e1a4bb

wrapping div support for wiki parser, toggling display of comment divs, show_comments user prefs
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 28 Jan 2007 22:40:49 +0100
parents 7919292b1e24
children 2aa24ec3fa05
line wrap: on
line diff
--- a/MoinMoin/config/multiconfig.py	Sun Jan 21 19:43:34 2007 +0100
+++ b/MoinMoin/config/multiconfig.py	Sun Jan 28 22:40:49 2007 +0100
@@ -235,7 +235,7 @@
     default_markup = 'wiki'
     docbook_html_dir = r"/usr/share/xml/docbook/stylesheet/nwalsh/html/" # correct for debian sarge
 
-    edit_bar = ['Edit', 'Discussion', 'Info', 'Subscribe', 'Quicklink', 'Attachments', 'ActionsMenu'] 
+    edit_bar = ['Edit', 'Comments', 'Discussion', 'Info', 'Subscribe', 'Quicklink', 'Attachments', 'ActionsMenu'] 
     editor_default = 'text' # which editor is called when nothing is specified
     editor_ui = 'freechoice' # which editor links are shown on user interface
     editor_force = False
@@ -449,6 +449,7 @@
         ('mailto_author', lambda _: _('Publish my email (not my wiki homepage) in author info')),
         ('edit_on_doubleclick', lambda _: _('Open editor on double click')),
         ('remember_last_visit', lambda _: _('After login, jump to last visited page')),
+        ('show_comments', lambda _: _('Show comment sections')),
         ('show_nonexist_qm', lambda _: _('Show question mark for non-existing pagelinks')),
         ('show_page_trail', lambda _: _('Show page trail')),
         ('show_toolbar', lambda _: _('Show icon toolbar')),
@@ -467,6 +468,7 @@
     user_checkbox_defaults = {'mailto_author':       0,
                               'edit_on_doubleclick': 0,
                               'remember_last_visit': 0,
+                              'show_comments': 0,
                               'show_nonexist_qm':    nonexist_qm,
                               'show_page_trail':     1,
                               'show_toolbar':        1,