
This topic defines site-level settings that apply to all users and webs on this site.
NOTE: These are just defaults; don't change them here. Instead, add them to the WebPreferences topic in each web
favicon.ico to a web's WebPreferences or add a FAVICON setting to WebPreferences
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. System.Topic links.
Copyright &© by the contributing authors. All material on this collaboration platform is the property of the contributing authors. 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. on); link WikiWords (if empty); can be overwritten by web preferences: [[...][...]] syntax to link topics in case you disabled WikiWord linking. The ... syntax can be used to prevents links within a block of text. %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{}%: 11 to 6on or nothing NOTE: They are typically redefined in topics of individual WikiUsers
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 FORCENEWREVISIONCHECKBOX = checked="checked", or unchecked if empty: (can be overwritten by user preferences) Set DONTNOTIFYCHECKBOX = checked="checked", or unchecked if empty: (can be overwritten by user preferences) 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: (can be overwritten by user preferences) NOTE: Keyword
$filenamegets expanded to filename;$fileurlgets expanded to the urlencoded filename;$commentto comment;\tto tab (3 spaces for bullets).
* Set ATTACHEDFILELINKFORMAT = \n * [[%ATTACHURL%/$fileurl][$filename]]: $commentNOTE: Keyword
$filenamegets expanded to filename;$fileurlgets expanded to the urlencoded filename;$commentto comment;$sizetowidth="..." height="..."attribute ofimgtag;\tto tab and\nto linefeed (3 spaces for bullets).
* Set ATTACHEDIMAGEFORMAT = \n * $comment:
\n 

%WEBLIST{}% macro instead: automatic), or Users can select one of the Groups (by setting to one) or Users can select Multiple Groups to join when they register (by setting to multiple) or The Add user to Groups feature can be disabled (by setting to none) NOTE: Changing cache behaviour with these settings should not be necessary and may cause cache-related problems. These settings do not affect proxy caches.
-tags). http-equiv meta tags for view, rdiff, attach, search*scripts: http-equiv meta tags for editscript: http-equiv meta tags for previewscript: initPlugin using the following simple code fragment. Say you want to add 'MYPREF' to the list:
my $pref = Foswiki::Func::getPreferencesValue('EXPORTEDPREFERENCES')||'';
my @list = split(/[,\s]+/, $pref);
unless (grep { /^MYPREF$/ } @list) {
push(@list, 'MYPREF');
}
Foswiki::Func::setPreferencesValue(
'EXPORTEDPREFERENCES', join(',', @list));
PATTERNSKIN_THEME_VARIANT): %ICON{name}%. Not set in this topic, the plugin assumes this value if missing
debugenableplugins url parameter; for example, https://nkwiki.de/foswiki/bin/view/System/DefaultPreferences?debugenableplugins=SmiliesPlugin will display this topic with all Plugins disabled except the SmiliesPlugin. | You type: | %RED% red text %ENDCOLOR% and %GREEN% green text %ENDCOLOR% |
| You get: | red text and green text |
%% 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%.
* Set YELLOW =
* Set ORANGE =
* Set RED =
* Set PINK =
* Set PURPLE =
* Set TEAL =
* Set NAVY =
* Set BLUE =
* Set AQUA =
* Set LIME =
* Set GREEN =
* Set OLIVE =
* Set MAROON =
* Set BROWN =
* Set BLACK =
* Set GRAY =
* Set SILVER =
* Set WHITE =
* Set ENDCOLOR =
$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. sequential, sidebyside or debug Note that any configuration variable accessed via QUERY must be included in the definition of {AccessibleCFG} in configure (expert setting)
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).
[3 spaces] * [space] Set NAME = value%. Example: %WEBBGCOLOR%, it gets expanded to #ffcc99 . The sequential order of the preference settings is significant. Define preferences that use other preferences FIRST. For example, set
WEBCOPYRIGHTbefore WIKIWEBMASTERsince the copyright notice uses the Wiki administrator e-mail address.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?.
The following macros are declared final to protect them as read only. These are system macros that should never be attempted set or altered in any preference topic or topic settings.
%MACROS%. Note: Can't edit? View raw topic
Copyright &© by the contributing authors. All material on this collaboration platform is the property of the contributing authors.