EmergingThreats Site-Level Preferences

This topic defines site-level settings that apply to all users and webs on this TWikiSite.

NOTE: Don't edit this topic, changes will be lost on the next TWiki upgrade. Define new site-level settings, or overload below settings in Main.TWikiPreferences

Preference settings local to your site should be set in Main.TWikiPreferences (this topic is pointed to by {LocalSitePreferences}, which is set by the admin in the configure interface). Settings in Main.TWikiPreferences will override settings in this topic, and should be used for defining custom settings and variables.

If yes, set SITEMAPLIST to on, do not set NOSEARCHALL, 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. TWiki.Topic links.

Simplified Copyright notice for the WebRss feed (don't use any special characters, html tags, entities, wiki markup or WikiWords)

Set WEBRSSCOPYRIGHT = Copyright 2018 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 TWikiAccessControls 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 =

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 on to 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{}% :

Default User Settings

Preference for the editor, default is the WYSIWYG editor. The options are raw, wysiwyg:

Set EDITMETHOD = wysiwyg

#Set EDITMETHOD = raw

Fixed pulldown menu-bar, on or off. If on, the menu-bar is always visible at the top, regardless of the window scroll position. If off, the menu-bar hides when scrolled, and can be shown by hovering over the gray TWiki icon.

Set FIXEDTOPMENU = off

Show tool-tip topic info on mouse-over of WikiWord links. Setting can be on, off, or customized. An empty setting or off setting disables the tool-tips (for better performance). The setting can contain $summary to show the topic summary, $date for the last change date, $rev for the revision, $username for the login name of the last editor, $wikiname for the WikiName, $wikiusername for Main.WikiName, $topic for the topic name, and $web for the web name

Set LINKTOOLTIPINFO = off

#Set LINKTOOLTIPINFO = $username - $date - $rev: $summary

Horizontal size of text edit box:

Set EDITBOXWIDTH = 70

Vertical size of text edit box:

Set EDITBOXHEIGHT = 22

Style of text edit box. Set to width: 99% for full window width (default; this will overwrite the EDITBOXWIDTH setting), or width: auto to disable. This setting works for IE and some other recent browsers.

Set EDITBOXSTYLE = width:99%

Default state of the Force New Revision (ForceNewRevision) check box in preview. Check box is initially checked if Set FORCENEWREVISIONCHECKBOX = checked="checked", or unchecked if empty:

Set FORCENEWREVISIONCHECKBOX =

Default state of the Minor Changes, Don't Notify (DontNotify) check box in preview. Check box is initially checked if Set DONTNOTIFYCHECKBOX = checked="checked", or unchecked if empty:

Set DONTNOTIFYCHECKBOX =

Default state of the link check box in the attach file page. Checkbox is initially checked if Set ATTACHLINKBOX = checked="checked", or unchecked if empty (Set ATTACHLINKBOX =). If checked, a link is created to the attached file at the end of the topic:

NOTE: Keyword $name gets expanded to filename; $comment to comment; $width to width of image; $height to height of image; $size to width="..." height="..." attribute of img tag; \t to tab and \n to linefeed. Use 3 leading spaces for bullets.

TWiki Platform Settings

TWiki site name:

Set WIKITOOLNAME = TWiki

Image, URL and alternate tooltip text of the logo for this installation: you should change these settings for your site, or they can be overwridden in WebPreferences for individual webs by defining these variables there.

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%, such as %RED% some text %ENDCOLOR% %GREEN% more text %ENDCOLOR%.

%YELLOW% looks like this

%ORANGE% looks like this

%RED% looks like this

%PINK% looks like this

%PURPLE% looks like this

%TEAL% looks like this

%NAVY% looks like this

%BLUE% looks like this

%AQUA% looks like this

%LIME% looks like this

%GREEN% looks like this

%OLIVE% looks like this

%MAROON% looks like this

%BROWN% looks like this

%BLACK% looks like this

%GRAY% looks like this

%SILVER% looks like this

%WHITE% looks like this (with gray background)

The following settings define the colors: (they are enclosed in verbatim tags to avoid incorrect nesting of XHTML tags)

Miscellaneous Settings

Note that $text is the topic link text, $topic is the name of the new topic, and $web is the name of the web for the new topic. Values for the 3 are taken from the link syntax [[$web.$topic][$text]]. For normal plain WikiWord links $text and $topic are the same. The value of $web is the current web unless the link is in the format $web.$topic.

Preferences are used as TWikiVariables by enclosing the name in percent signs: %. Example:

When you write variable %WEBBGCOLOR%, it gets expanded to #FFFFFF .

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 TWiki administrator e-mail address.