# # JSPWiki - a JSP-based WikiWiki clone. # # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not use this file except in compliance # with the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, # software distributed under the License is distributed on an # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. # ############################################################################ # # This is the JSPWiki configuration file. You'll need to edit this # a bit. The first few lines are the most important ones. # # If you don't want to edit this file, you can override each individual # property by specifying the property name as a standard # Java System Property. # # Wherever it is said that an option can be "true" or "false", you can # also use "yes"/"no", or "on/off". Just for some convenience. # # # You can use this to override 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. # jspwiki.applicationName = @appname@ # # Describe where your wiki lives (the real URL through which it is available # through the internet/intranet). This is a mandatory attribute. # # Be careful if you use a localhost address (http://localhost/ or http://127.0.0.1/), # as this will cause some unwanted side effects if your wiki is accessed from # any other computer than where the wiki is running. # # Example: # jspwiki.baseURL = http://www.jspwiki.org/ # jspwiki.baseURL= # # What Java Content Repository should JSPWiki use to store content? # This value will be consulted only if JSPWiki cannot locate # a container-managed JCR under the JNDI name jcr/repository. # Valid values are 'priha' and 'jackrabbit'. jspwiki.repository = priha # # Which page provider class to use. Possibilities are: # # RCSFileProvider - for simple RCS-based file storage # FileSystemProvider - for simple pure file storage with no version information # VersioningFileProvider - for simple, non-RCS based versioning storage. # # Note that if you're upgrading from JSPWiki 1.x, then you need to remove the # "org.apache.wiki." part from the beginning of the path. # jspwiki.pageProvider = FileSystemProvider # # Set to true, if you want to cache page data into memory. This is # in general a good idea. # # Default is false (no cache). # # NB: This replaces the JSPWiki 1.x "CachingProvider" setting, since it # probably was too confusing. # jspwiki.usePageCache = true # # The JSPWiki working directory. If not set, a temporary path will # be used. You can see the location of the workdir in the logs. # It is HIGHLY recommended that you set this. # # The working directory is used to cache things like Lucene search # results. # #jspwiki.workDir = # # ATTACHMENTS: # # You can limit the maximum size of an attachment by setting this # value. The value is in bytes, and by default all attachments # are accepted. # This limit is not enforced for users with AdminPermissions. # # The following line would limit the attachment size to 100,000 bytes #jspwiki.attachment.maxsize=100000 # # By default JSPWiki accepts all types of attachments. However, you # can allow some types only, or forbid some other types. By default, # all file types are allowed (if you do not specify the "allow" list # at all or it is empty). # These allow/forbid statements are not enforced for users with AdminPermissions. # # These both are space-separated lists of file suffixes # # Example: Allow only PNG, JPG, ZIP and JAR file attachments #jspwiki.attachment.allow=.png .jpg .zip .jar # Example: Forbid HTML, PHP, ASP and EXE #jspwiki.attachment.forbid=.html .htm .php .asp .exe # # page Diff Representation # # To show differences between page versions, you can define a # difference provider. # The following choices are available: # * TraditionalDiffProvider - Uses internal (java) diff # to create a list of changes and shows it line by # line colored. This is the default # * ContextualDiffProvider - Uses internal (java) diff # to create changes inline and shows it on a word by # word basis using CSS. This is much superior to the # traditional diff provider, however, it is still quite # new and not much tested. YMMV. # * ExternalDiffProvider - uses a system diff program (which # can be configured using "jspwiki.diffCommand") to # create an unified (!) diff. # # Example for a diff command: # jspwiki.diffCommand = /usr/bin/diff -u %s1 %s2 # jspwiki.diffProvider = TraditionalDiffProvider # Determines if you need to have relative urls or not. If the baseURL # is not set, then this has no effect, but if you set the baseURL (which # is highly recommended), you can use this to set relative urls. # # Possible values are "absolute" and "relative". # #jspwiki.referenceStyle=relative # # Determines whether raw HTML is allowed as Wiki input. # # THIS IS A DANGEROUS OPTION! # # If you decide to allow raw HTML, understand that ANY person who has # access to your Wiki site can embed ANY sort of malicious JavaScript, # or plugin, or ActiveX, or whatever on your site. They can even mess it # up so royally it is impossible for you to replace the situation without # the need of direct access to the repository. So think twice before # allowing raw HTML on your own site. # # Most probably you want to use this on Intranets, or personal servers, # where only a handful of people can access the wiki. # # Text between {{{ and }}} -options is not affected by this setting, so # it's always safe to quote HTML code with those. # # The default for this option is "false". # jspwiki.translatorReader.allowHTML = false ############################################################################ # # Usability niceties. # # # If this property is set to "true", then page titles are rendered # using an extra space between every capital letter. It may make # page titles readable on some occasions, but it does have the # drawback of making the titles look a bit funny at times. # jspwiki.breakTitleWithSpaces = false # # If set to true, this property means that "WikiName" and "WikiNames" # are considered equal when linking between them. Setting this to # true does not prevent you from having both kinds of pages - we just # fall back to the other one if the primary name does not exist. # # For any other language, you'll probably want to turn this off. # jspwiki.translatorReader.matchEnglishPlurals = true # # If you set this to true, the Wiki translator will then also consider # "traditional" WikiNames (that is, names of pages JustSmashedTogether # without square brackets) as hyperlinks. This technique is also # known as "CamelCase", or "BumpyCase", or "InterCapping". I personally # like CamelCase as a word, which is why this property is named as it is :-). # # By default this is false, since traditional WikiLinks may confuse newbies. # # This option can be overridden on a per-page basis using the SET directive. # jspwiki.translatorReader.camelCaseLinks = false # # This sets the default template used by the Wiki engine. The templates # live in templates/