~ubuntu-branches/ubuntu/intrepid/moin/intrepid-updates

« back to all changes in this revision

Viewing changes to debian/moinmaster.py

  • Committer: Bazaar Package Importer
  • Author(s): Sivan Greenberg
  • Date: 2006-07-09 19:28:02 UTC
  • Revision ID: james.westby@ubuntu.com-20060709192802-oaeuvt4v3e9300uj
Tags: 1.5.3-1ubuntu1
* Merge new debian version.
* Reapply Ubuntu changes:
    + debian/rules:
      - Comment out usage of control.ubuntu.in (doesn't fit!).
    + debian/control.in:
      - Dropped python2.3 binary package.
    + debian/control:
      - Dropped python2.3 binary, again.
      - Dropped python2.3-dev from Build-Depends-Indep.
    + debian/patches/001-attachment-xss-fix.patch:
      - Dropped this patch. It's now in upstream's distribution.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# -*- coding: iso-8859-1 -*-
 
2
# IMPORTANT! This encoding (charset) setting MUST be correct! If you live in a
 
3
# western country and you don't know that you use utf-8, you probably want to
 
4
# use iso-8859-1 (or some other iso charset). If you use utf-8 (a Unicode
 
5
# encoding) you MUST use: coding: utf-8
 
6
# That setting must match the encoding your editor uses when you modify the
 
7
# settings below. If it does not, special non-ASCII chars will be wrong.
 
8
 
 
9
"""
 
10
This is a sample config for a wiki that is part of a wiki farm and uses
 
11
farmconfig for common stuff. Here we define what has to be different from
 
12
the farm's common settings.
 
13
"""
 
14
 
 
15
# we import the FarmConfig class for common defaults of our wikis:
 
16
from farmconfig import FarmConfig
 
17
 
 
18
# now we subclass that config (inherit from it) and change what's different:
 
19
class Config(FarmConfig):
 
20
 
 
21
    show_timings = 1
 
22
 
 
23
    # basic options (you normally need to change these)
 
24
    sitename = u'MoinMaster' # [Unicode]
 
25
    interwikiname = 'MoinMaster'
 
26
 
 
27
    # name of entry page / front page [Unicode], choose one of those:
 
28
    
 
29
    # a) if most wiki content is in a single language
 
30
    #page_front_page = u"MyStartingPage"
 
31
    
 
32
    # b) if wiki content is maintained in many languages
 
33
    page_front_page = u"FrontPage"
 
34
 
 
35
    data_dir = '/org/de.wikiwikiweb.moinmaster/data/'
 
36