~ubuntu-branches/ubuntu/natty/moin/natty-updates

« back to all changes in this revision

Viewing changes to wiki/config/more_samples/README

  • Committer: Bazaar Package Importer
  • Author(s): Jonas Smedegaard
  • Date: 2008-06-22 21:17:13 UTC
  • mfrom: (0.9.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20080622211713-fpo2zrq3s5dfecxg
Tags: 1.7.0-3
Simplify /etc/moin/wikilist format: "USER URL" (drop unneeded middle
CONFIG_DIR that was wrongly advertised as DATA_DIR).  Make
moin-mass-migrate handle both formats and warn about deprecation of
the old one.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Here are some more configuration examples you might find useful.
 
2
 
 
3
If the file is called *_snippet*, it means that it is NOT a complete config
 
4
file, but just a part you can use for assembling one yourself).
 
5
 
 
6
wikiconfig snippet usage
 
7
========================
 
8
 
 
9
Except otherwise noted, you will have to copy the content of the snippet file
 
10
INTO your wiki configuration class.
 
11
 
 
12
That means:
 
13
 
 
14
a) For a single wiki:
 
15
   Below the "class Config(DefaultConfig):" line in wikiconfig.py.
 
16
 
 
17
b) For a wiki farm, if the configuration should be common for all wikis ini
 
18
   the farm:
 
19
   Below the "class FarmConfig(DefaultConfig):" line in farmconfig.py.
 
20
 
 
21
c) For a wiki farm, if the configuration should be just for some single,
 
22
   individual wiki in the farm:
 
23
   Below the "class Config(FarmConfig):" line in <yourwikiname>.py.
 
24