X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=conf%2Fextinction.py;fp=conf%2Fextinction.py;h=312790cfc8fbd99e0c23193d6f5e92cd6538cab9;hb=a7015a064c551f5f278c7e80a83cf58faa5b9795;hp=0000000000000000000000000000000000000000;hpb=1f5d121a7076d4abba28b6f89ed5a0acd36c6c31;p=matthijs%2Fprojects%2Fwipi.git 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'