From: Matthijs Kooijman Date: Wed, 19 Nov 2008 17:48:35 +0000 (+0100) Subject: Add more extinction config. X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fprojects%2Fwipi.git;a=commitdiff_plain;h=a7015a064c551f5f278c7e80a83cf58faa5b9795 Add more extinction config. --- diff --git a/conf/extinction.py b/conf/extinction.py new file mode 100644 index 0000000..312790c --- /dev/null +++ b/conf/extinction.py @@ -0,0 +1,38 @@ +# -*- 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. +""" + +# we import the FarmConfig class for common defaults of our wikis: +from farmconfig import FarmConfig + +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) + sitename = u'Extinction' # [Unicode] + interwikiname = 'Extinction' + + # name of entry page / front page [Unicode], choose one of those: + + page_front_page = u"Home" + + data_dir = data_dir_root + '/extinction/' + + # The GUI WYSISYG editor is not installed with Debian. + # See /usr/share/doc/$(cdbs_curpkg)/README.Debian for more info + editor_force = True + editor_default = 'text' # internal default, just for completeness + + theme_default = 'classic'