Difference: DefaultPreferences (1 vs. 3)

Revision 3
14 Oct 2014 - Main.MatthiasGeorgi
Line: 1 to 1
 
META TOPICPARENT name="AdminToolsCategory"

Foswiki Site-Level Preferences

Line: 43 to 43
 

  • Exclude web from a web="all" search: (Set to on for hidden webs; is overwritten by web preferences) Note it is much better to use AccessControlsin individual webs to control who can and can't view the contents of a web. NOSEARCHALL is retained for compatibility, but you should avoid using it.
    • Set NOSEARCHALL =
Changed:
<
<
  • Prevent automatic linking of WikiWords and acronyms (if set to on); link WikiWords (if empty); can be overwritten by web preferences:
>
>
  • 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.
  • If you use non WikiWords for topic names (for example "Expenses" or "Mighty1") and if you use bracket notation to link to those topics, it is useful to turn of all warnings (like: "WARNING: This topic name is not recommended because it will not be linked automatically") and checkboxes ("Allow non WikiWord for the new topic name"). Can be overwritten by web preferences. Set to onto activate:
Line: 61 to 61
 
      • Set TOC_MAX_DEPTH =
        • If not set: 6
        • Possible values: 1 to 6
Changed:
<
<
        • Can be overridden by depth parameter of TOC
>
>
        • Can be overridden by depth parameter of TOC?
 
    • The default TOC title:
      • Set TOC_TITLE =
        • If not set: nothing
        • Possible values: any string, for example On this page:
Changed:
<
<
        • Can be overridden by title parameter of TOC
>
>
        • Can be overridden by title parameter of TOC?
 
    • Do not show a TOC if the topic it contains is included in another topic:
      • Set TOC_HIDE_IF_INCLUDED =
        • If not set: included TOC is shown
Revision 2
05 Mar 2014 - Main.ValentinBamann
Line: 1 to 1
Deleted:
<
<
 
META TOPICPARENT name="AdminToolsCategory"

Foswiki Site-Level Preferences

Line: 18 to 17
 

Default Web Preferences

Changed:
<
<
ALERT! NOTE: These are just defaults; don't change them here. Instead, add them to the WebPreferences topic in each web
>
>
ALERT! NOTE: These are just defaults; don't change them here. Instead, add them to the WebPreferences topic in each web
 

  • Web-specific background color: (is overwritten by web preferences)
Changed:
<
<
    • Set WEBBGCOLOR = #FFD8AA
>
>
    • Set WEBBGCOLOR = #ffcc99
 

Line: 38 to 36
 
    • Set WEBSUMMARY =

  • Copyright notice:
Changed:
<
<
    • Set WEBCOPYRIGHT = This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
      Ideas, requests, problems regarding Foswiki? Send feedback
>
>
    • Set WEBCOPYRIGHT = This site is powered by FoswikiCopyright &© by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
      Ideas, requests, problems regarding Foswiki? Send feedback
 

  • Simplified Copyright notice for the WebRss feed (don't use any special characters, html tags, entities, wiki markup or WikiWords)
    • Set WEBRSSCOPYRIGHT = Copyright 2025 by contributing authors

  • Exclude web from a web="all" search: (Set to on for hidden webs; is overwritten by web preferences) Note it is much better to use AccessControls in individual webs to control who can and can't view the contents of a web. NOSEARCHALL is retained for compatibility, but you should avoid using it.
    • Set NOSEARCHALL =
Changed:
<
<
  • Prevent automatic linking of WikiWords and acronyms (if set to on); link WikiWords (if empty); can be overwritten by web preferences:
>
>
  • 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.
Changed:
<
<
  • If you use non WikiWords for topic names (for example "Expenses" or "Mighty1") and if you use bracket notation to link to those topics, it is useful to turn of all warnings (like: "WARNING: This topic name is not recommended because it will not be linked automatically") and checkboxes ("Allow non WikiWord for the new topic name"). Can be overwritten by web preferences. Set to on to activate:
>
>
  • If you use non WikiWords for topic names (for example "Expenses" or "Mighty1") and if you use bracket notation to link to those topics, it is useful to turn of all warnings (like: "WARNING: This topic name is not recommended because it will not be linked automatically") and checkboxes ("Allow non WikiWord for the new topic name"). Can be overwritten by web preferences. Set to onto activate:
 
    • Set HIDE_NON_WIKI_WORD_WARNINGS =

  • Warn if %INCLUDE{}% of topic fails: Fail silently if empty or off. Output warning message (defined in templates/oopsalerts.tmpl) if set to on. Otherwise output specific text (use $topic for topic). You can override this in web preferences, or by using a warn="..." parameter with %INCLUDE{}% :
Line: 63 to 61
 
      • Set TOC_MAX_DEPTH =
        • If not set: 6
        • Possible values: 1 to 6
Changed:
<
<
        • Can be overridden by depth parameter of TOC
>
>
        • Can be overridden by depth parameter of TOC
 
    • The default TOC title:
      • Set TOC_TITLE =
        • If not set: nothing
        • Possible values: any string, for example On this page:
Changed:
<
<
        • Can be overridden by title parameter of TOC
>
>
        • Can be overridden by title parameter of TOC
 
    • Do not show a TOC if the topic it contains is included in another topic:
      • Set TOC_HIDE_IF_INCLUDED =
        • If not set: included TOC is shown
Line: 90 to 88
 
  • Vertical size of text edit box: (can be overwritten by user preferences)
    • Set EDITBOXHEIGHT = 22
Changed:
<
<
  • Style of text edit box. Set to width: 99% for full window width (default; this will override the EDITBOXWIDTH setting), or width: auto to disable. This setting works for IE and some other recent browsers. (can be overwritten by user preferences)
>
>
  • Style of text edit box. Set to width: 99% for full window width (default; this will override the EDITBOXWIDTH setting), or width: autoto disable. This setting works for IE and some other recent browsers. (can be overwritten by user preferences)
 
    • Set EDITBOXSTYLE = width:99%

  • Style of the user signature
Line: 112 to 110
 
HELP NOTE: Keyword $filename gets expanded to filename; $fileurl gets expanded to the urlencoded filename; $comment to comment; \t to tab (3 spaces for bullets).
<-- verbatim tag required to prevent error in Apache log; does not suppress Set -->

Changed:
<
<
    • Set ATTACHEDFILELINKFORMAT = \n * $filename: $comment
>
>
    • Set ATTACHEDFILELINKFORMAT = \n * $filename: $comment
 

  • Format of images when the link check box is checked: (can be overwritten by user preferences)
    HELP NOTE: Keyword $filename gets expanded to filename; $fileurl gets expanded to the urlencoded filename; $comment to comment; $size to width="..." height="..." attribute of img tag; \t to tab and \n to linefeed (3 spaces for bullets).

Changed:
<
<
    • Set ATTACHEDIMAGEFORMAT = \n * $comment:
      \n $filename
>
>
    • Set ATTACHEDIMAGEFORMAT = \n * $comment:
      \n $filename
 

Platform Settings

Line: 146 to 142
 
    • Set BROADCASTMESSAGE =
    • #Set BROADCASTMESSAGE = NOTE: Edit and Attach will be disabled today between 05:00 PM and 06:00 PM PDT (00:00 to 01:00 GMT) for a scheduled Foswiki maintenance.
Changed:
<
<
  • Users or groups allowed to create new top-level webs: (ex: WebCreatorsGroup?). If set to nothing, only administrators will be able to do this.
>
>
  • Users or groups allowed to create new top-level webs: (ex: WebCreatorsGroup?). If set to nothing, only administrators will be able to do this.
 

Search Settings

  • Default type for search bin script, one of: keyword (for search engine like syntax), regex (for RegularExpression search), or literal (for verbatim search). It does not influence the default for the WebSearch
    • Set SEARCHDEFAULTTTYPE = keyword
Changed:
<
<
  • Default for %SEARCH{}% macro, one of: keyword, regex, or literal
>
>
  • Default for %SEARCH{}%macro, one of: keyword, regex, or literal
 
    • Set SEARCHVARDEFAULTTYPE = literal
  • Stop words, e.g., common words and characters to exclude from a keyword search:
    • Set SEARCHSTOPWORDS = a, all, am, an, and, any, as, at, b, be, by, c, d, e, for, from, g, h, how, i, i'm, i.e., in, is, isn't, it, it's, its, j, k, l, m, n, o, of, on, or, p, q, r, s, t, that, that's, the, this, to, u, v, w, was, wasn't, what, what's, when, where, who, who's, will, with, x, y, z
Line: 161 to 157
 

E-mail Settings

  • 'Mail this topic' mailto: link - can be included in topics, templates or skins
Changed:
<
<
>
>
 

  • 'Mail this topic' link text
    • Set MAILTHISTOPICTEXT = Send a link to this page
Line: 191 to 187
 
TIP NOTE: Changing cache behaviour with these settings should not be necessary and may cause cache-related problems. These settings do not affect proxy caches.
  • NOTE: The current values of these preferences are not displayed in view mode (values are <link>-tags).
Changed:
<
<
  • http-equiv meta tags for view, rdiff, attach, search* scripts:
>
>
  • http-equiv meta tags for view, rdiff, attach, search*scripts:
 
    • #Set HTTP_EQUIV_ON_VIEW =
    • Set HTTP_EQUIV_ON_VIEW =
Changed:
<
<
  • http-equiv meta tags for edit script:
>
>
  • http-equiv meta tags for editscript:
 
    • Set HTTP_EQUIV_ON_EDIT =
Changed:
<
<
  • http-equiv meta tags for preview script:
>
>
  • http-equiv meta tags for previewscript:
 
    • Set HTTP_EQUIV_ON_PREVIEW =
Deleted:
<
<
 

Extension Settings

  • Skin overriding the default templates: (can be overwritten by WebPreferences and user preferences)
Line: 256 to 251
 

TinyMCEPlugin

Changed:
<
<
  • Topic containing a section? named INIT which will hold the default initialisation parameters for the TinyMCE editor.
>
>
  • Topic containing a section? named INITwhich will hold the default initialisation parameters for the TinyMCE editor.
 
    • #Set TINYMCEPLUGIN_INIT_TOPIC = TinyMCEPlugin
      HELP Not set in this topic, the plugin assumes this value if missing

TwistyPlugin

Changed:
<
<
  • Show/hide animation speed: 'fast', 'slow', or integer milliseconds | 0 (no animation)
>
>
  • Show/hide animation speed: 'fast', 'slow', or integer milliseconds | 0(no animation)
 
    • Set TWISTYPLUGIN_TWISTYANIMATIONSPEED = fast

Legacy support

Line: 294 to 289
 
    • Set CLEAR =

  • Bullet sign:
Changed:
<
<
    • Set BULLET = •
>
>
    • Set BULLET = •
 

  • Vertical bar / pipe symbol:
Changed:
<
<
    • Set VBAR = |
>
>
    • Set VBAR = |
 

  • Vertical caret symbol:
Changed:
<
<
    • Set CARET = ^
>
>
    • Set CARET = ^
 

  • Line break and bullet with different levels of indentation:
Changed:
<
<
    • Set BB =
    • Set BB2 =
        •
    • Set BB3 =
          •
    • Set BB4 =
            •
>
>
    • Set BB =
    • Set BB2 =
    • Set BB3 =
    • Set BB4 =
 

  • Hint: Above shortcuts are useful in tables where you cannot use newlines
Line: 327 to 322
 
  • Colored text: (see more StandardColors)
    You type: %RED% red text %ENDCOLOR% and %GREEN% green text %ENDCOLOR%
    You get: red text and green text
Added:
>
>
 
    • Note: %<color>% text must end with %ENDCOLOR%. If you want to switch from one color to another one you first need to end the active color with %ENDCOLOR%, e.g. write %RED% some text %ENDCOLOR% %GREEN% more text %ENDCOLOR%.
      <-- Two sets of colors follow: Color test and color setting -->
    • Set YELLOW = looks like this
Line: 346 to 342
 
    • Set BLACK = looks like this
    • Set GRAY = looks like this
    • Set SILVER = looks like this
Changed:
<
<
    • Set WHITE = looks like this (with gray background)
>
>
    • Set WHITE = looks like this (with gray background)
 
    • The following color settings are enclosed in verbatim tags to avoid incorrect nesting of XHTML tags:
      * Set YELLOW = <font color="#ffff00">
Line: 367 to 363
 
    • Set GRAY =
    • Set SILVER =
    • Set WHITE =
Changed:
<
<
    • Set ENDCOLOR =
>
>
    • Set ENDCOLOR =
 

Miscellaneous Settings

Line: 419 to 415
  You can introduce new preference settings and use them in your topics and templates. There is no need to change the Foswiki engine (Perl scripts).
  • A preference is defined in a bullet item: [3 spaces] * [space] Set NAME = value
    Example (as a nested bullet item, indented 6 spaces):
    • Set WEBBGCOLOR = #FFFFC0
Changed:
<
<
  • Preferences are used as Macros by enclosing the name in percent signs: %. Example:
>
>
  • Preferences are used as Macros by enclosing the name in percent signs: %. Example:
 
    • When you write %WEBBGCOLOR%, it gets expanded to #ffcc99 .
Changed:
<
<
ALERT! The sequential order of the preference settings is significant. Define preferences that use other preferences FIRST. For example, set WEBCOPYRIGHT before WIKIWEBMASTER since the copyright notice uses the Wiki administrator e-mail address.
>
>
ALERT! The sequential order of the preference settings is significant. Define preferences that use other preferences FIRST. For example, set WEBCOPYRIGHT before WIKIWEBMASTERsince the copyright notice uses the Wiki administrator e-mail address.
 
Changed:
<
<
ALERT! In order to protect your custom preferences from being overwritten when upgrading the DefaultPreferences topic, it is recommended that all custom settings are defined in DefaultPreferences?.
>
>
ALERT! In order to protect your custom preferences from being overwritten when upgrading the System.DefaultPreferences topic, it is recommended that all custom settings are defined in Main.DefaultPreferences?.
 

Protected System Settings

Line: 437 to 434
 

  • WebPreferences has preferences of the System web.
  • User topics in Main can have optional user preferences.
Changed:
<
<
  • Macros has a list of common %MACROS%.
>
>
  • Macros has a list of common %MACROS%.
 
 
This site is powered by FoswikiCopyright &© by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback