How to separate your domainwiki-pages from other wiki-pages (e.g. the corewiki-pages or default help-pages)?

The MultiVersionFileProvider is based on the default VersionFileProvider and solves the problem like this:
  • You have to configure multi-page dirs in the (See Installation).
  • If a page is requested, the provider looks in every pagedir and returns the correspondent page (if exists).
  • The first pageDir-entry is the master dir. Every NEW page is created in this dir. You can't create new pages in the other folders.

Tested with JSPWiki Version 2.5.166-cvs.
It is not working with MultipleWikis, because the ReferenceManager is not refreshed.


jspwiki.pageProvider = de.oomodeller.jspwiki.providers.MultiVersionFileProvider
jspwiki.fileSystemProvider.pageDir = c:\\wikipages\\domainpages
jspwiki.fileSystemProvider.pageDir.2 = c:\\wikipages\\defaultpages
jspwiki.fileSystemProvider.pageDir.3 = c:\\wikipages\\helppages


-- OlafKaus, 04 Jan 08
More Category Provider

Add new attachment

Only authorized users are allowed to upload new attachments.

List of attachments

Kind Attachment Name Size Version Date Modified Author Change note
MultiVersionFileProvider-0.1-s... 3.5 kB 1 04-Jan-2008 11:32
MultiVersionFileProvider-0.1.j... 5.4 kB 1 04-Jan-2008 11:32
« This page (revision-4) was last changed on 11-Mar-2010 21:53 by