SWiki Web Preferences

The following settings are web preferences of the SWiki web. These preferences overwrite the site-level preferences in DefaultPreferences, and can be overwritten by user preferences (your personal topic, eg: WikiGuest in the Main web).

Preferences:

  • Web specific background color: (Pick a lighter one of the StandardColors)
    • Set WEBBGCOLOR = #D0D0D0

  • List this web in the SiteMap:
    • If yes, Set SITEMAPLIST = on, and add the "what" and "use to..." description for the site map. Make sure to list only links that include the name of the web, e.g. SWiki.Topic links.
    • Set SITEMAPLIST = on
    • Set SITEMAPWHAT = General Wiki related to the activities of the GSI Gamma Spectroscopy Group
    • Set SITEMAPUSETO = Share information between the Gamma Spectroscopy group at GSI and their collaborators

  • Exclude web from a web="all" search: (Set to on for hidden webs)
    • Set NOSEARCHALL =

  • Prevent automatic linking of WikiWords and acronyms (if set to on); link WikiWords (if empty); can be overwritten by web preferences:
    • Set NOAUTOLINK =
    • Note: Use the [[...][...]] syntax to link topics in case you disabled WikiWord linking. The <noautolink> ... </noautolink> syntax can be used to prevents links within a block of text.

  • Default template for new topics and form(s) for this web:

  • Users or groups allowed to change or rename this WebPreferences topic: (I.e. AdminGroup)

  • Web preferences that are not allowed to be overridden by user preferences:
    • Set FINALPREFERENCES = NOSEARCHALL, ATTACHFILESIZELIMIT, WIKIWEBMASTER, WEBCOPYRIGHT, WEBTOPICLIST, DENYWEBVIEW, ALLOWWEBVIEW, DENYWEBCHANGE, ALLOWWEBCHANGE, DENYWEBRENAME, ALLOWWEBRENAME

Notes:
  • A preference is defined as:
    6 spaces * Set NAME = value
    Example:
    • Set WEBBGCOLOR = #FFFFC0
  • Preferences are used as System.Macros by enclosing the name in percent signs. Example:
    • When you write variable %WEBBGCOLOR% , it gets expanded to #D0D0D0 .
  • The sequential order of the preference settings is significant. Define preferences that use other preferences first, i.e. set WEBCOPYRIGHT before WIKIWEBMASTER since %WEBCOPYRIGHT% uses the %WIKIWEBMASTER% variable.
  • You can introduce new preferences variables and use them in your topics and templates. There is no need to change the g-wiki engine (Perl scripts).

Related Topics:
  • DefaultPreferences has site-level preferences.
  • WikiUsers has a list of user topics. User topics can have optional user preferences.
  • System.Macros has a list of common %VARIABLES%.
  • AccessControl explains how to restrict access by users or groups.
Topic revision: r29 - 2010-08-31, PlamenBoutachkov
Create personal sidebar

2024-12-03 - 17:53

Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding g-wiki Send feedback | Imprint | Privacy Policy (in German)