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 acl_rights_default = 'Known:read,write,delete,revert All:read,write' 40 acl_rights_before = 'AdminGroup:read,write,delete,revert,admin' 41 42 theme_default = 'ep2008' 43 44 logo_string = u'<img src="/wiki/ep2008/img/europython.png" alt="EuroPython" />' 45 navi_bar = [ 46 # If you want to show your page_front_page here: 47 #u'%(page_front_page)s', 48 u'Registration', 49 u'Location', 50 u'Talks and Themes', 51 u'Events', 52 u'Sprints', 53 u'Calendar', 54 u'[wiki:Participants Participate!]', 55 u'RecentChanges', 56 #u'FindPage', 57 #u'HelpContents', 58 ] 59 60 banner_string = u'<img src="/wiki/ep2008/img/sponsor_us.png" alt="Banner advertisement" id="banner" />' 61 banner_alt_text = u'Sponsor of EuroPython' 62 banner_prefix = u'sponsor' # banner images need this prefix 63 banner_per_page = 0 # false value: use attachment page for images 64 banner_attachment_page = u'Sponsors' # upload banner images to this page 65 banner_link_page = u'Sponsors' # make banner images link to this page 66 67 contact_label = u'Contact Information' 68 contact_page = u'Contact' 69 70 contribute_string = u'Contribute to this site!' 71 special_username = 0 # show simple username or contribute string for login 72 73 # vim: tabstop=4 expandtab shiftwidth=4