The Wiki Portlet is based on JSPWiki. For more information on JSPWiki, see http://www.jspwiki.org. The Wiki Portlet supports the following configuration tokens in the PortalServer-DataDir/portals/portal-ID/portletapps/wiki/tokens.properties file:
Specifies the wiki page repository type, jdbc, for database (default) file for filesystem.
Specifies the location of temp files and search index.
Specifies the location of filesystem repository (not used for JDBC repository).
Specifies the base location of the page template directories which are used to create the initial page sets of new wikis.
These are used by the system to create the wiki database repository when the wiki is first configured.
These are used for the configuration of the wiki and community database resources.
The Wiki Portlet allows for the following runtime tokens in the PortalServer-DataDir/portals/portal-ID/portletapps/wiki/tokens.properties file:
Specifies the default application name. It affects the HTML titles and logging, for example. It can be different from the actual web name (http://my.com/mywiki) of the application, but usually it is the same.
Specifies the provider class to use. For example, the values can be:
For simple RCS-based file storage.
For simple pure file storage with no version information.
For simple, non-RCS based versioning storage.
By default, this is set to JDBCPageProvider.
Specifies the minutes for editing the page before increasing the version of the page. Multiple edits by the same user within this interval will not increment the page version number and will appear as a single edit in the page history.
Specifies the path to the properties files of the imported page and attachment repositories, which are used to build the initial database repository from default data, or to migrate from old versions of JSPWiki.
Specifies where wiki files are kept for FileSystemProvider and RCSFileProvider.
Specifies the JSPWiki working directory. The working directory is used to cache things like page reference data.
Specifies the attachment provider to use. You can specify BasicAttachmentProvider for a simple, flat file versioning provider or leave the value empty to disable the functionality. By default, this is set to JDBCAttachmentProvider.
If you specify the BasicAttachmentProvider as the attachment provider, this specifies where to store the files the user has uploaded.
Specifies the base URL which can be used to rewrite all of JSPWiki's internal references.
Enables authorization. Authorization for community wiki is based on community membership.
Specifies whether raw HTML is allowed as Wiki input. By default, this is set to true. You can also specify yes or no, or on or off.
Specifies the default template used by the Wiki engine. The templates live in wiki-webapp-location/templates/template-name directory. JSPWiki will attempt to find two basic templates (ViewTemplate and EditTemplate) from that directory. The default JSPWiki template is called default which is provided as a reference only. The wiki portlet uses templates called wikicommunity and wikiportlet.
Specifies the number of minutes a person can lock a page while editing it.
Specifies search server configuration information.
Specifies a file system directory containing wiki page template configurations. A wiki page template defines a set of initial pages used when a new wiki is created. Wiki channels specify the page template with the wikiTemplate property. There are currently three templates:
Used by the wiki tab and wiki portlets in the Developer Sample portal.
Used by wiki communities.
Used by wiki portlets in the community framework.
Specifies the logging level.
Specifies the log file location. The default log location is dynamically set to PortalServer-DataDir/logs/instance-name/jspwiki.log.