|Version 2 (modified by coderanger, 10 years ago) (diff)|
Customize the wiki on initialization
Allows site-wide customizations to the default wiki to be added at environment creation.
Each file in the folder you give (see below) should be named the name as the page it will load to. If the contents are exactly the text __delete__ on a single line, the page will be deleted.
If you have any issues, create a new ticket.
Download the zipped source from [download:sitewikidefaultplugin here].
Enable this plugin gloablly (usually in /usr/share/trac/conf/trac.ini):
[components] sitewikidefault.* = enabled
By default it looks for pages in /etc/trac/wiki-default. This can be changed though:
[site] wiki_default = /my/dir
- 3416 by coderanger on 2008-03-25 07:39:08
Change my email to avoid Yahoo, which decided to brake my scraper script recently.
- 1438 by coderanger on 2006-10-23 00:20:55
- 1437 by coderanger on 2006-10-23 00:20:20
New hack SiteWikiDefaultPlugin, created by coderanger