config: Use the proxy theme to set site-specific themes.
[matthijs/projects/wipi.git] / conf / farmconfig.py
index ea8baa6f2f8e450fb97a07479f4af00c4b56040c..7fdcbff255ef6f185b70c255ff0dc4c1cd8eb40b 100644 (file)
@@ -128,9 +128,10 @@ class FarmConfig(DefaultConfig):
         u'HelpContents',
     ]
 
-    # The default theme anonymous or new users get
-    theme_default = 'modern'
-
+    # Always use the proxy. Specific configs define a proxy_theme_mapping,
+    # which maps specific paths to a corresponding theme.
+    theme_default = 'proxy'
+    theme_force = True
 
     # Language options --------------------------------------------------
 
@@ -157,6 +158,8 @@ class FarmConfig(DefaultConfig):
     # See /usr/share/doc/$(cdbs_curpkg)/README.Debian for more info
     editor_force = True
     editor_default = 'text'  # internal default, just for completeness
+    # Require a comment on page changes. This needs a patched moinmoin.
+    require_comment = True
 
     # Authentication
     from auth.mysql_login import mysql_login # This comes from plugin