X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=conf%2Fextinction.py;h=040f20c242d67fa45496266cd4d7a5c83c4fee27;hb=HEAD;hp=312790cfc8fbd99e0c23193d6f5e92cd6538cab9;hpb=a7015a064c551f5f278c7e80a83cf58faa5b9795;p=matthijs%2Fprojects%2Fwipi.git diff --git a/conf/extinction.py b/conf/extinction.py index 312790c..040f20c 100644 --- a/conf/extinction.py +++ b/conf/extinction.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,14 +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) - sitename = u'Extinction' # [Unicode] + # basic options + sitename = u'Extinction' 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. @@ -35,4 +20,10 @@ class Config(FarmConfig): editor_force = True editor_default = 'text' # internal default, just for completeness - theme_default = 'classic' + # Use a site-theme for /Site/ and a normal wiki theme for the rest. + proxy_theme_mapping = [ + ('/Site/', 'extinction'), + ('', 'modernized'), + ] + +# vim: set ts=8 sts=4 sw=4 expandtab: