X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=conf%2Fexodus.py;h=7b8f024c933f381954606d2b3d70a01c56b0572f;hb=HEAD;hp=d43f296bee47658259cbfa363a0639076198ea45;hpb=60ebf1a2ac1ad748b3c8b8370ee660e968bb4e2e;p=matthijs%2Fprojects%2Fwipi.git diff --git a/conf/exodus.py b/conf/exodus.py index d43f296..7b8f024 100644 --- a/conf/exodus.py +++ b/conf/exodus.py @@ -1,16 +1,5 @@ -# -*- coding: iso-8859-1 -*- -# IMPORTANT! This encoding (charset) setting MUST be correct! If you live in a -# western country and you don't know that you use utf-8, you probably want to -# use iso-8859-1 (or some other iso charset). If you use utf-8 (a Unicode -# encoding) you MUST use: coding: utf-8 -# That setting must match the encoding your editor uses when you modify the -# settings below. If it does not, special non-ASCII chars will be wrong. - -""" -This is a sample config for a wiki that is part of a wiki farm and uses -farmconfig for common stuff. Here we define what has to be different from -the farm's common settings. -""" +# -*- coding: utf-8 -*- +# IMPORTANT! This encoding (charset) setting MUST be correct! # we import the FarmConfig class for common defaults of our wikis: from farmconfig import FarmConfig @@ -20,18 +9,10 @@ from farmconfig import data_dir_root # now we subclass that config (inherit from it) and change what's different: class Config(FarmConfig): - # basic options (you normally need to change these) + # basic options sitename = u'Exodus' # [Unicode] interwikiname = 'Exodus' - # name of entry page / front page [Unicode], choose one of those: - - # a) if most wiki content is in a single language - #page_front_page = u"MyStartingPage" - - # b) if wiki content is maintained in many languages - page_front_page = u"FrontPage" - data_dir = data_dir_root + '/exodus/' # The GUI WYSISYG editor is not installed with Debian. @@ -39,4 +20,13 @@ class Config(FarmConfig): editor_force = True editor_default = 'text' # internal default, just for completeness - theme_default = 'exodus' + # Use a site-theme for /Site/ and a normal wiki theme for the rest. + proxy_theme_mapping = [ + ('/Site/', 'exodus'), + ('', 'modernized'), + ] + + # Set cookies on /, so they work on /wipi and /Site alike. + cookie_path = '/' + +# vim: set ts=8 sts=4 sw=4 expandtab: