view wiki/config/ @ 35:f0af060fb82b

making people choose the right approach to page_front_page imported from: moin--main--1.5--patch-36
author Thomas Waldmann <>
date Sun, 25 Sep 2005 14:45:38 +0000
parents 77665d8e2254
children ebe1730a3176
line wrap: on
line source

# -*- 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

# now we subclass that config (inherit from it) and change what's different:
class Config(FarmConfig):

    show_timings = 1

    # basic options (you normally need to change these)
    sitename = u'MoinMaster' # [Unicode]
    interwikiname = 'MoinMaster'
    # 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 = '/org/de.wikiwikiweb.moinmaster/data/'