paul@0 | 1 | # -*- coding: iso-8859-1 -*- |
paul@0 | 2 | # IMPORTANT! This encoding (charset) setting MUST be correct! If you live in a |
paul@0 | 3 | # western country and you don't know that you use utf-8, you probably want to |
paul@0 | 4 | # use iso-8859-1 (or some other iso charset). If you use utf-8 (a Unicode |
paul@0 | 5 | # encoding) you MUST use: coding: utf-8 |
paul@0 | 6 | # That setting must match the encoding your editor uses when you modify the |
paul@0 | 7 | # settings below. If it does not, special non-ASCII chars will be wrong. |
paul@0 | 8 | |
paul@0 | 9 | """ |
paul@0 | 10 | This is a sample config for a wiki that is part of a wiki farm and uses |
paul@0 | 11 | farmconfig for common stuff. Here we define what has to be different from |
paul@0 | 12 | the farm's common settings. |
paul@0 | 13 | """ |
paul@0 | 14 | |
paul@0 | 15 | # we import the FarmConfig class for common defaults of our wikis: |
paul@0 | 16 | from farmconfig import FarmConfig |
paul@0 | 17 | |
paul@0 | 18 | # now we subclass that config (inherit from it) and change what's different: |
paul@0 | 19 | class Config(FarmConfig): |
paul@0 | 20 | |
paul@0 | 21 | # basic options (you normally need to change these) |
paul@0 | 22 | sitename = u'ep2008' # [Unicode] |
paul@0 | 23 | interwikiname = 'ep2008' |
paul@0 | 24 | |
paul@0 | 25 | # name of entry page / front page [Unicode], choose one of those: |
paul@0 | 26 | |
paul@0 | 27 | # a) if most wiki content is in a single language |
paul@0 | 28 | #page_front_page = u"MyStartingPage" |
paul@0 | 29 | |
paul@0 | 30 | # b) if wiki content is maintained in many languages |
paul@59 | 31 | page_front_page = u"EuroPython" |
paul@0 | 32 | |
paul@0 | 33 | # PB: Specific EP2008 settings. |
paul@0 | 34 | |
paul@0 | 35 | data_dir = '/home/paulb/Activities/EuroPython/2008/ep2008/wiki/data' |
paul@0 | 36 | data_underlay_dir = '/home/paulb/Activities/EuroPython/2008/ep2008/wiki/underlay' |
paul@0 | 37 | |
paul@0 | 38 | acl_enabled = 1 |
paul@12 | 39 | acl_rights_default = 'Known:read,write,delete,revert All:read,write' |
paul@54 | 40 | acl_rights_before = 'AdminGroup:read,write,delete,revert,admin BlockedUsersGroup:read' |
paul@12 | 41 | |
paul@0 | 42 | theme_default = 'ep2008' |
paul@0 | 43 | |
paul@52 | 44 | logo_string = u'<img src="/wiki/ep2008/img/logo/Banner-258x80.png" alt="EuroPython" />' |
paul@0 | 45 | navi_bar = [ |
paul@0 | 46 | # If you want to show your page_front_page here: |
paul@0 | 47 | #u'%(page_front_page)s', |
paul@0 | 48 | u'Registration', |
paul@0 | 49 | u'Location', |
paul@55 | 50 | u'[wiki:Talks_and_Themes Talks/Themes]', |
paul@48 | 51 | #u'Events', |
paul@0 | 52 | u'Sprints', |
paul@0 | 53 | u'Calendar', |
paul@32 | 54 | u'[wiki:Participants Participate!]', |
paul@48 | 55 | u'[wiki:RecentChanges Updates]', |
paul@0 | 56 | #u'FindPage', |
paul@0 | 57 | #u'HelpContents', |
paul@0 | 58 | ] |
paul@0 | 59 | |
paul@0 | 60 | banner_string = u'<img src="/wiki/ep2008/img/sponsor_us.png" alt="Banner advertisement" id="banner" />' |
paul@12 | 61 | banner_alt_text = u'Sponsor of EuroPython' |
paul@14 | 62 | banner_prefix = u'sponsor' # banner images need this prefix |
paul@14 | 63 | banner_per_page = 0 # false value: use attachment page for images |
paul@14 | 64 | banner_attachment_page = u'Sponsors' # upload banner images to this page |
paul@14 | 65 | banner_link_page = u'Sponsors' # make banner images link to this page |
paul@12 | 66 | |
paul@28 | 67 | contact_label = u'Contact Information' |
paul@28 | 68 | contact_page = u'Contact' |
paul@14 | 69 | |
paul@0 | 70 | contribute_string = u'Contribute to this site!' |
paul@14 | 71 | special_username = 0 # show simple username or contribute string for login |
paul@0 | 72 | |
paul@50 | 73 | # RSS links for the blog. |
paul@50 | 74 | extra_rss = u''' |
paul@50 | 75 | <link rel="alternate" type="application/rss+xml" |
paul@50 | 76 | title="EuroPython Conference RSS Feed" href="http://europython.wordpress.com/feed/" /> |
paul@50 | 77 | <link rel="pingback" href="http://europython.wordpress.com/xmlrpc.php" />''' |
paul@50 | 78 | |
paul@60 | 79 | # If mail is disabled, don't permit subscriptions. |
paul@60 | 80 | actions_excluded = ['SubscribeUser'] |
paul@60 | 81 | |
paul@0 | 82 | # vim: tabstop=4 expandtab shiftwidth=4 |