Description#
VersioningFileProvider is one of the three core PageProviders (along with FileSystemProvider and RCSFileProvider)
It is a simple non-RCS based versioning storage that provides basic directory based repository for storing Wiki pages.
Configuration#
To setup VersioningFileProvider, you must configure a few options in your jspwiki.properties (in your webapp/WEB-INF directory):
- jspwiki.pageProvider =VersioningFileProvider (make sure there are no trailing spaces)
- jspwiki.usePageCache = true
- jspwiki.fileSystemProvider.pageDir =<path to where you want to store your wiki pages>
How the provider stores its files#
VersioningFileProvider sets up the files and directories in this structure:
/<path-to-files>
- Main.txt
- Foobar.txt
- OLD/
- Main/
- 1.txt
- 2.txt
- page.properties
- Foobar/
- page.properties
- Main/
In this example, the wiki page 'Main' has three versions, while 'Foobar' has just one.
The properties file contains the necessary metainformation (such as author) information of the page. DO NOT MESS WITH IT!
Add new attachment
Only authorized users are allowed to upload new attachments.
. Use this wiki only for improving the documentation.