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 # basic options (you normally need to change these) 22 sitename = u'ep2008' # [Unicode] 23 interwikiname = 'ep2008' 24 25 # name of entry page / front page [Unicode], choose one of those: 26 27 # a) if most wiki content is in a single language 28 #page_front_page = u"MyStartingPage" 29 30 # b) if wiki content is maintained in many languages 31 page_front_page = u"FrontPage" 32 33 # PB: Specific EP2008 settings. 34 35 data_dir = '/home/paulb/Activities/EuroPython/2008/ep2008/wiki/data' 36 data_underlay_dir = '/home/paulb/Activities/EuroPython/2008/ep2008/wiki/underlay' 37 38 acl_enabled = 1 39 theme_default = 'ep2008' 40 41 logo_string = u'<img src="/wiki/ep2008/img/europython.png" alt="EuroPython" />' 42 navi_bar = [ 43 # If you want to show your page_front_page here: 44 #u'%(page_front_page)s', 45 u'Registration', 46 u'Location', 47 u'Places to Stay', 48 u'Talks and Themes', 49 u'Events', 50 u'Sprints', 51 u'Calendar', 52 #u'RecentChanges', 53 #u'FindPage', 54 #u'HelpContents', 55 ] 56 57 banner_string = u'<img src="/wiki/ep2008/img/sponsor_us.png" alt="Banner advertisement" id="banner" />' 58 contact_string = u'<div id="contact"><a href="Contact">Contact Information</a></div>' 59 contribute_string = u'Contribute to this site!' 60 special_username = 0 61 62 # vim: tabstop=4 expandtab shiftwidth=4