X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=conf%2Fexodus.py;h=607d2797451401e52a32c155684eb93c9f2ee72a;hb=9c683b78b34f4e5dacba53d3d68b8cdefcb239cc;hp=868e6667eff788ccd236ff0fe470ad64502319f6;hpb=f159c73b29c5a76a7314ce34fda82d5cbb66b2ec;p=matthijs%2Fprojects%2Fwipi.git diff --git a/conf/exodus.py b/conf/exodus.py index 868e666..607d279 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,13 +9,12 @@ 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: - - page_front_page = u"Home" + # name of entry page + page_front_page = u"Site" data_dir = data_dir_root + '/exodus/' @@ -36,5 +24,8 @@ class Config(FarmConfig): editor_default = 'text' # internal default, just for completeness theme_default = 'exodus' + + # Set cookies on /, so they work on /wipi and /Site alike. + cookie_path = '/' # vim: set ts=8 sts=4 sw=4 expandtab: