~kosova/+junk/tuxfamily-twiki

« back to all changes in this revision

Viewing changes to foswiki/data/System/DefaultPreferences.txt

  • Committer: James Michael DuPont
  • Date: 2009-07-18 19:58:49 UTC
  • Revision ID: jamesmikedupont@gmail.com-20090718195849-vgbmaht2ys791uo2
added foswiki

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
%META:TOPICINFO{author="ProjectContributor" date="1231502400" format="1.1" version="1"}%
 
2
---+!! <nop>%WIKITOOLNAME% Site-Level Preferences
 
3
 
 
4
This topic defines *site-level* settings that apply to all users and webs on this site.
 
5
 
 
6
<div class="foswikiNotification">
 
7
*%X% Note:* This topic should be regarded as read-only, so that upgrades can safely overwrite it without risk to your customizations.
 
8
 
 
9
Preference settings local to your site should be set in [[%LOCALSITEPREFS%]] (this topic is pointed to by {LocalSitePreferences}, which is set by the admin in the [[%SCRIPTURLPATH{"configure"}%][configure]] interface). Settings in [[%LOCALSITEPREFS%]] will override settings in this topic, and should be used for defining custom settings.
 
10
 
 
11
[[Macros#SettingPrefs][Read more]] on how to set preferences.
 
12
</div>
 
13
 
 
14
%TOC%
 
15
 
 
16
#DefaultWebPreferences
 
17
---++ Default Web Preferences
 
18
 
 
19
%X% *NOTE:* These are just defaults; don't change them here. Instead, add them to the !WebPreferences topic in each web
 
20
 
 
21
   * List of selected topics in a web (used in menus)
 
22
      * Set WEBTOPICLIST = [[WebChanges][Changes]] %SEP% [[WebIndex][Index]] %SEP% [[WebSearch][Search]] %SEP% Go <input type="text" name="topic" size="16" />
 
23
 
 
24
   * Web-specific background color: (is overwritten by web preferences)
 
25
      * Set WEBBGCOLOR = #FFD8AA
 
26
 
 
27
   * [[http://en.wikipedia.org/wiki/Favicon][favicon]]: Attach a =favicon.ico= to a web's WebPreferences or add a =FAVICON= setting to WebPreferences
 
28
      * Set FAVICON = %PUBURLPATH%/%SYSTEMWEB%/ProjectLogos/favicon.ico
 
29
 
 
30
   * Image, URL and alternate tooltip text of web's logo.
 
31
      * Set WEBLOGOIMG = %WIKILOGOIMG%
 
32
      * Set WEBLOGOURL = %WIKILOGOURL%
 
33
      * Set WEBLOGOALT = %WIKILOGOALT%
 
34
 
 
35
   * List this web in the %SYSTEMWEB%.SiteMap:
 
36
      * 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. <nop>%WEB%.Topic links.
 
37
      * Set SITEMAPLIST = on
 
38
      * Set SITEMAPWHAT = Describe what this web does.
 
39
      * Set SITEMAPUSETO = ...to do something.
 
40
 
 
41
   * Copyright notice:
 
42
      * Set WEBCOPYRIGHT = <span class="foswikiRight"> <a href="http://foswiki.org/"><img src="%PUBURLPATH%/%SYSTEMWEB%/ProjectLogos/foswiki-badge.gif" alt="%MAKETEXT{"This site is powered by Foswiki"}%" title="%MAKETEXT{"This site is powered by Foswiki"}%" border="0" /></a></span>%MAKETEXT{"Copyright &&copy; by the contributing authors. All material on this collaboration platform is the property of the contributing authors." args="1999-%GMTIME{$year}%"}% <br /> %MAKETEXT{"Ideas, requests, problems regarding [_1]? <a href='[_2]'>Send feedback</a>" args="<nop>%WIKITOOLNAME%,mailto:%WIKIWEBMASTER%?subject=%WIKITOOLNAME%%20Feedback%20on%20%BASEWEB%.%BASETOPIC%"}%
 
43
 
 
44
   * Simplified Copyright notice for the WebRss feed (don't use any special characters, html tags, entities, wiki markup or WikiWords)
 
45
      * Set WEBRSSCOPYRIGHT = Copyright %GMTIME{"$year"}% by contributing authors
 
46
 
 
47
   * 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 [[AccessControl][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.
 
48
      * Set NOSEARCHALL =
 
49
   * Prevent automatic linking of [[%SYSTEMWEB%.WikiWords][WikiWords]] and acronyms (if set to =on=); link <nop>WikiWords (if empty); can be overwritten by web preferences:
 
50
      * Set NOAUTOLINK =
 
51
      * *Note:* Use the =[<nop>[...][...]]= syntax to link topics in case you disabled <nop>WikiWord linking. The =&lt;noautolink&gt; ... &lt;/noautolink&gt;= syntax can be used to prevents links within a block of text.
 
52
   * 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:
 
53
      * Set HIDE_NON_WIKI_WORD_WARNINGS =
 
54
 
 
55
   * Warn if =%<nop>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 =%<nop>INCLUDE{}%= :
 
56
      * Set INCLUDEWARNING = on
 
57
 
 
58
   * Generated Table of Contents (TOC) settings
 
59
      * The first header level to appear in the TOC:
 
60
         * Set TOC_MIN_DEPTH =
 
61
            * If not set: =1=
 
62
            * Possible values: =1= to =6=
 
63
      * The last header level to appear in the TOC:
 
64
         * Set TOC_MAX_DEPTH =
 
65
            * If not set: =6=
 
66
            * Possible values: =1= to =6=
 
67
            * Can be overridden by =depth= parameter of [[%SYSTEMWEB%.VarTOC][TOC]]
 
68
      * The default TOC title:
 
69
         * Set TOC_TITLE =
 
70
            * If not set: nothing
 
71
            * Possible values: any string, for example =On this page:=
 
72
            * Can be overridden by =title= parameter of [[%SYSTEMWEB%.VarTOC][TOC]]
 
73
      * Do not show a TOC if the topic it contains is included in another topic:
 
74
         * Set TOC_HIDE_IF_INCLUDED =
 
75
            * If not set: included TOC is shown
 
76
            * Possible values: =on= or nothing
 
77
 
 
78
---++ Default User Settings
 
79
 
 
80
%X% *NOTE:* They are typically redefined in topics of individual %USERSWEB%.WikiUsers
 
81
 
 
82
   * 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 <nop>WikiName, $wikiusername for <nop>%USERSWEB%.WikiName, $topic for the topic name, and $web for the web name
 
83
      * Set LINKTOOLTIPINFO = off
 
84
      * #Set LINKTOOLTIPINFO = $username - $date - r$rev: $summary
 
85
         * This is exactly equivalent to:
 
86
      * #Set LINKTOOLTIPINFO = on
 
87
 
 
88
   * Horizontal size of text edit box: (can be overwritten by user preferences)
 
89
      * Set EDITBOXWIDTH = 70
 
90
 
 
91
   * Vertical size of text edit box: (can be overwritten by user preferences)
 
92
      * Set EDITBOXHEIGHT = 22
 
93
 
 
94
   * 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)
 
95
      * Set EDITBOXSTYLE = width:99%
 
96
 
 
97
   * 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: (can be overwritten by user preferences)
 
98
      * Set FORCENEWREVISIONCHECKBOX =
 
99
 
 
100
   * 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: (can be overwritten by user preferences)
 
101
      * Set DONTNOTIFYCHECKBOX =
 
102
 
 
103
   * 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: (can be overwritten by user preferences)
 
104
      * Set ATTACHLINKBOX =
 
105
 
 
106
   * Format of file link when the *link* check box is checked: (can be overwritten by user preferences)
 
107
      * %H% *NOTE:* Keyword ==$name== gets expanded to filename; ==$comment== to comment; ==\t== to tab (3 spaces for bullets).
 
108
<!-- verbatim tag required to prevent error in Apache log; does not suppress Set -->
 
109
<verbatim>
 
110
      * Set ATTACHEDFILELINKFORMAT = \n   * [[%ATTACHURL%/$name][$name]]: $comment
 
111
</verbatim>
 
112
 
 
113
   * Format of images when the *link* check box is checked: (can be overwritten by user preferences)
 
114
      * %H% *NOTE:* Keyword ==$name== gets expanded to filename; ==$comment== to comment; ==$size== to ==width="..." height="..."== attribute of ==img== tag; ==\t== to tab and ==\n== to linefeed (3 spaces for bullets).
 
115
<verbatim>
 
116
      * Set ATTACHEDIMAGEFORMAT = \n   * $comment: <br />\n     <img src="%ATTACHURLPATH%/$name" alt="$name" $size />
 
117
</verbatim>
 
118
 
 
119
---++ Platform Settings
 
120
 
 
121
   * Site name:
 
122
      * Set WIKITOOLNAME = Foswiki
 
123
 
 
124
   * 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 settings there.
 
125
      * Set WIKILOGOIMG = %PUBURL%/%SYSTEMWEB%/ProjectLogos/foswiki-logo.png
 
126
      * Set WIKILOGOURL = %SCRIPTURL{"view"}%/%USERSWEB%/%HOMETOPIC%
 
127
      * Set WIKILOGOALT = Powered by Foswiki, The Free and Open Source Wiki
 
128
 
 
129
   * Home page of this site
 
130
      * Set WIKIHOMEURL = %SCRIPTURLPATH{"view"}%
 
131
 
 
132
   * List of <nop>%WIKITOOLNAME% webs - on the first line of the upper toolbar (to add a new web, see ManagingWebs and %SYSTEMWEB%.SiteMap):
 
133
      * Set WIKIWEBLIST = [[%USERSWEB%.%HOMETOPIC%][%USERSWEB%]] %SEP% [[%SYSTEMWEB%.%HOMETOPIC%][%SYSTEMWEB%]] %SEP% [[Sandbox.%HOMETOPIC%][Sandbox]]
 
134
      * %T% *NOTE:* To automatically list all non-hidden webs in alphabetical order, use the =%<nop>WEBLIST{}%= macro instead: <br />
 
135
        %WEBLIST{"[[$name.%HOMETOPIC%][$name]]" separator=" | "}%
 
136
 
 
137
   * Maximum size of %SYSTEMWEB%.FileAttachments in KB, 0 for no limit:
 
138
      * Set ATTACHFILESIZELIMIT = 10000
 
139
 
 
140
   * Broadcast message for skins supporting a %<nop>BROADCASTMESSAGE% at the top of the page: (IMPORTANT: Set to empty message if not used; #Comment out unused messages)
 
141
      * Set BROADCASTMESSAGE =
 
142
      * #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 <nop>%WIKITOOLNAME% maintenance.
 
143
 
 
144
   * Users or groups allowed to [[%SYSTEMWEB%.ManagingWebs][create new top-level webs]]: (ex: %USERSWEB%.WebCreatorsGroup). If set to nothing, only administrators will be able to do this.
 
145
      * Set ALLOWROOTCHANGE = %USERSWEB%.AdminGroup
 
146
 
 
147
---+++ Search Settings
 
148
 
 
149
   * 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
 
150
      * Set SEARCHDEFAULTTTYPE = keyword
 
151
   * Default for =%<nop>SEARCH{}%= macro, one of: keyword, regex, or literal
 
152
      * Set SEARCHVARDEFAULTTYPE = literal
 
153
   * Stop words, e.g., common words and characters to exclude from a keyword search:
 
154
      * 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
 
155
 
 
156
---+++ E-mail Settings
 
157
 
 
158
   * 'Mail this topic' mailto: link - can be included in topics, templates or skins
 
159
      * Set MAILTHISTOPIC = <a href="mailto:?subject=%BASETOPIC%&amp;body=%TOPICURL%">%MAILTHISTOPICTEXT%</a>
 
160
 
 
161
   * 'Mail this topic' link text
 
162
      * Set MAILTHISTOPICTEXT = Send a link to this page
 
163
 
 
164
   * URL for current topic
 
165
      * Set TOPICURL = %SCRIPTURL{"view"}%/%WEB%/%BASETOPIC%
 
166
 
 
167
 
 
168
---+++ HTTP-<nop>EQUIV Settings
 
169
 
 
170
   * %T% *NOTE:* Changing cache behaviour with these settings should not be necessary and may cause cache-related problems. These settings do not affect proxy caches.
 
171
   * *NOTE:* The current values of these preferences are not displayed in view mode (values are <code>&lt;link&gt;</code>-tags).
 
172
 
 
173
   * ==http-equiv== meta tags for ==view==, ==rdiff==, ==attach==, ==search*== scripts:
 
174
      * #Set HTTP_EQUIV_ON_VIEW =
 
175
      * Set HTTP_EQUIV_ON_VIEW = <link rel="alternate" type="application/rss+xml" title="RSS Feed" href="%SCRIPTURLPATH{"view"}%/%WEB%/WebRss" />
 
176
 
 
177
   * ==http-equiv== meta tags for ==edit== script:
 
178
      * Set HTTP_EQUIV_ON_EDIT =
 
179
 
 
180
   * ==http-equiv== meta tags for ==preview== script:
 
181
      * Set HTTP_EQUIV_ON_PREVIEW =
 
182
 
 
183
 
 
184
---++ Skin Settings
 
185
 
 
186
   * Skin overriding the default templates: (can be overwritten by WebPreferences and user preferences)
 
187
      * Set SKIN = pattern
 
188
 
 
189
   * *Note:* See SkinBrowser for currently installed skins
 
190
 
 
191
---+++ PatternSkin
 
192
 
 
193
   * Global skin styles. To change the look of the site, point these variables to custom CSS attachments.
 
194
      * Set FOSWIKI_LAYOUT_URL = %PUBURLPATH%/%SYSTEMWEB%/PatternSkin/layout.css
 
195
      * Set FOSWIKI_STYLE_URL = %PUBURLPATH%/%SYSTEMWEB%/PatternSkin/style.css
 
196
      * Set FOSWIKI_COLORS_URL = %PUBURLPATH%/%SYSTEMWEB%/PatternSkin/colors.css
 
197
 
 
198
   * Themes that add upon the global skin styles. Choose from the Theme Browser at PatternSkin.
 
199
      * Set PATTERNSKIN_THEME = %PUBURLPATH%/%SYSTEMWEB%/PatternSkin/theme_foswiki_noframe.css
 
200
      * Set PATTERNSKIN_COLUMNS = %PUBURLPATH%/%SYSTEMWEB%/PatternSkin/column_left.css
 
201
 
 
202
   * Overriding styles that add upon the global and theme styles. Enabled by default but empty to prevent browsers from fetching %<nop>USERLAYOUTURL%-style URLs.
 
203
      * Set USERLAYOUTURL =
 
204
      * Set USERSTYLEURL =
 
205
      * Set USERCOLORSURL =
 
206
      * Set WEBHEADERART =
 
207
      * Set WEBHEADERBGCOLOR =
 
208
 
 
209
---+++ Skin icons
 
210
 
 
211
   * Topic containing the icon graphics library. Icons can easily be rendered with =%<nop>ICON{name}%=.
 
212
      * Set ICONTOPIC = %SYSTEMWEB%.DocumentGraphics
 
213
 
 
214
---+++ Legacy support
 
215
   * Support for legacy "EDITTOPIC", used to be hard-coded, now replaced by TMPL:P conditional instantiation
 
216
      * Set EDITURL = %SCRIPTURLPATH{"edit"}%/%WEB%/%TOPIC%?t=%GMTIME{"$epoch"}%
 
217
      * Set EDITTOPIC = <a href="%EDITURL%" title="Edit Topic - deprecated usage - please see release notes">Edit</a>
 
218
 
 
219
---++ Plugins Settings
 
220
 
 
221
   * You can enable/disable Plugins using the [[%SCRIPTURLPATH{"configure"}%][configure]] interface.
 
222
   * You can also disable installed plugins in individual webs/topics by defining the DISABLEDPLUGINS [[PreferenceSettings][preference setting]] to be a list of plugins to disable e.g.
 
223
      * <nop>Set DISABLEDPLUGINS = SpreadSheetPlugin,EditTablePlugin
 
224
      * Currently, %<nop>DISABLEDPLUGINS% is set to "%DISABLEDPLUGINS%"
 
225
   * Currently activated Plugins: %ACTIVATEDPLUGINS%
 
226
 
 
227
   * %T% *NOTE:* You can enable/disable Plugins by passing a comma-separated list of Plugin names in the =debugenableplugins= url parameter; for example, %SCRIPTURL{"view"}%/%WEB%/%TOPIC%?debugenableplugins=SmiliesPlugin will display this topic with all Plugins disabled except the SmiliesPlugin.
 
228
   * Detailed diagnostics can be found in InstalledPlugins
 
229
   * Legacy settings:
 
230
      * Set INSTALLEDPLUGINS = The INSTALLEDPLUGINS macro is no longer supported. You can set the Plugins execution order using the [[%SCRIPTURLPATH{"configure"}%][configure]] interface.
 
231
 
 
232
#RenderingShortcuts
 
233
---++ Rendering Shortcuts Settings
 
234
 
 
235
   * Line break: Note that the setting has an intentional trailing space
 
236
      * Set BR = <br /> 
 
237
 
 
238
   * Bullet sign:
 
239
      * Set BULLET = &#8226;
 
240
 
 
241
   * Vertical bar / pipe symbol:
 
242
      * Set VBAR = &#124;
 
243
 
 
244
   * Vertical caret symbol:
 
245
      * Set CARET = &#94;
 
246
 
 
247
   * Line break and bullet with different levels of indentation:
 
248
      * Set BB = <br />&#8226;
 
249
      * Set BB2 = <br />&nbsp;&nbsp;&#8226;
 
250
      * Set BB3 = <br />&nbsp;&nbsp;&nbsp;&nbsp;&#8226;
 
251
      * Set BB4 = <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8226;
 
252
 
 
253
   * *Hint:* Above shortcuts are useful in tables where you cannot use newlines
 
254
 
 
255
#DocGraphics
 
256
   * Macros for graphics used in documentation - view all images in %ICONTOPIC%:
 
257
      * Set H = <img src="%ICONURLPATH{help}%" alt="HELP" title="HELP" width="16" height="16" border="0" />
 
258
      * Set I = <img src="%ICONURLPATH{tip}%" alt="IDEA!" title="IDEA!" width="16" height="16" border="0" />
 
259
      * Set M = <img src="%ICONURLPATH{arrowright}%" alt="MOVED TO..." title="MOVED TO..." width="16" height="16" border="0" />
 
260
      * Set N = <img src="%ICONURLPATH{new}%" alt="NEW" title="NEW" width="30" height="16" border="0" />
 
261
      * Set P = <img src="%ICONURLPATH{pencil}%" alt="REFACTOR" title="REFACTOR" width="16" height="16" border="0" />
 
262
      * Set Q = <img src="%ICONURLPATH{help}%" alt="QUESTION?" title="QUESTION?" width="16" height="16" border="0" />
 
263
      * Set S = <img src="%ICONURLPATH{starred}%" alt="PICK" title="PICK" width="16" height="16" border="0" />
 
264
      * Set T = <img src="%ICONURLPATH{tip}%" alt="TIP" title="TIP" width="16" height="16" border="0" />
 
265
      * Set U = <img src="%ICONURLPATH{updated}%" alt="UPDATED" title="UPDATED" width="55" height="16" border="0" />
 
266
      * Set X = <img src="%ICONURLPATH{warning}%" alt="ALERT!" title="ALERT!" width="16" height="16" border="0" />
 
267
      * Set Y = <img src="%ICONURLPATH{choice-yes}%" alt="DONE" title="DONE" width="16" height="16" border="0" />
 
268
 
 
269
   * Colored text: (see more StandardColors)
 
270
     | You type: | =%<nop>RED% red text %<nop>ENDCOLOR% and %<nop>GREEN% green text %<nop>ENDCOLOR%= |
 
271
     | You get: | %RED% red text %ENDCOLOR% and %GREEN% green text %ENDCOLOR% |
 
272
      * *Note:* =%&lt;color&gt;%= text must end with =%<nop>ENDCOLOR%=. If you want to switch from one color to another one you first need to end the active color with =%<nop>ENDCOLOR%=, e.g. write =%<nop>RED% some text %<nop>ENDCOLOR% %<nop>GREEN% more text %<nop>ENDCOLOR%=.
 
273
        <!-- Two sets of colors follow: Color test and color setting -->
 
274
      * %YELLOW% *Set YELLOW = looks like this* %ENDCOLOR%
 
275
      * %ORANGE% *Set ORANGE = looks like this* %ENDCOLOR%
 
276
      * %RED% *Set RED = looks like this* %ENDCOLOR%
 
277
      * %PINK% *Set PINK = looks like this* %ENDCOLOR%
 
278
      * %PURPLE% *Set PURPLE = looks like this* %ENDCOLOR%
 
279
      * %TEAL% *Set TEAL = looks like this* %ENDCOLOR%
 
280
      * %NAVY% *Set NAVY = looks like this* %ENDCOLOR%
 
281
      * %BLUE% *Set BLUE = looks like this* %ENDCOLOR%
 
282
      * %AQUA% *Set AQUA = looks like this* %ENDCOLOR%
 
283
      * %LIME% *Set LIME = looks like this* %ENDCOLOR%
 
284
      * %GREEN% *Set GREEN = looks like this* %ENDCOLOR%
 
285
      * %OLIVE% *Set OLIVE = looks like this* %ENDCOLOR%
 
286
      * %MAROON% *Set MAROON = looks like this* %ENDCOLOR%
 
287
      * %BROWN% *Set BROWN = looks like this* %ENDCOLOR%
 
288
      * %BLACK% *Set BLACK = looks like this* %ENDCOLOR%
 
289
      * %GRAY% *Set GRAY = looks like this* %ENDCOLOR%
 
290
      * %SILVER% *Set SILVER = looks like this* %ENDCOLOR%
 
291
      * <span style='background : #808080;'>%WHITE% *Set WHITE = looks like this (with gray background)* %ENDCOLOR%</span>
 
292
      * The following color settings are enclosed in verbatim tags to avoid incorrect nesting of XHTML tags:
 
293
<verbatim>
 
294
      * Set YELLOW = <font color="#ffff00">
 
295
      * Set ORANGE = <font color="#ff6600">
 
296
      * Set RED = <font color="#ff0000">
 
297
      * Set PINK = <font color="#ff00ff">
 
298
      * Set PURPLE = <font color="#800080">
 
299
      * Set TEAL = <font color="#008080">
 
300
      * Set NAVY = <font color="#000080">
 
301
      * Set BLUE = <font color="#0000ff">
 
302
      * Set AQUA = <font color="#00ffff">
 
303
      * Set LIME = <font color="#00ff00">
 
304
      * Set GREEN = <font color="#008000">
 
305
      * Set OLIVE = <font color="#808000">
 
306
      * Set MAROON = <font color="#800000">
 
307
      * Set BROWN = <font color="#996633">
 
308
      * Set BLACK = <font color="#000000">
 
309
      * Set GRAY = <font color="#808080">
 
310
      * Set SILVER = <font color="#c0c0c0">
 
311
      * Set WHITE = <font color="#ffffff">
 
312
      * Set ENDCOLOR = </font>
 
313
</verbatim>
 
314
 
 
315
---++ Miscellaneous Settings
 
316
 
 
317
   * Format of a NewWikiWord link:
 
318
   * 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 =[<nop>[$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=.
 
319
      * default setting:
 
320
         * Set NEWLINKFORMAT = <span class="foswikiNewLink">$text<a href="%SCRIPTURLPATH{"edit"}%/$web/$topic?topicparent=%WEB%.%TOPIC%" rel="nofollow" title="%MAKETEXT{"Create this topic"}%">?</a></span>
 
321
      * alternative setting:
 
322
         * #Set NEWLINKFORMAT = <a class="foswikiNewLink" href="%SCRIPTURLPATH{"edit"}%/$web/$topic?topicparent=%WEB%.%TOPIC%" rel="nofollow" title="%MAKETEXT{"Create this topic"}%">$text</a>
 
323
 
 
324
   * %SYSTEMWEB%.PreviewBackground image:
 
325
      * Set PREVIEWBGIMAGE = %PUBURLPATH%/%SYSTEMWEB%/PreviewBackground/preview2bg.gif
 
326
 
 
327
   * User-friendly synonyms for system webs
 
328
      * Set DOCWEB = %SYSTEMWEB%
 
329
 
 
330
   * show extra help for !ApacheLogin users for Main.AdminUser login
 
331
      * Set ADMINLOGIN = %IF{"{LoginManager} = 'Foswiki::LoginManager::ApacheLogin' AND NOT context authenticated"
 
332
        then="Foswiki is configured using <nop>ApacheLogin, please [[%LOGINURL%][login]] as a normal user first. Then the Admin Login will replace this text"
 
333
        else="[[%SCRIPTURL{login}%?sudo=sudo;origurl=%SCRIPTURL{"view"}%/%BASEWEB%/%BASETOPIC%][internal admin login]] (use the username suggested and the password set in configure)."}%
 
334
 
 
335
---++ Access Control Settings
 
336
 
 
337
   * No-one (except admins) should change this topic
 
338
      * Set ALLOWTOPICCHANGE = %USERSWEB%.AdminGroup
 
339
      * Set ALLOWTOPICRENAME = %USERSWEB%.AdminGroup
 
340
 
 
341
---++ Creating New Preference Settings
 
342
 
 
343
You can introduce new [[PreferenceSettings][preference settings]] and use them in your topics and templates. There is no need to change the Foswiki engine (Perl scripts).
 
344
   * A preference is defined in a ShortHand bullet item: ==[3 spaces] * [space] Set NAME = value== <br /> Example (as a nested bullet item, indented 6 spaces):
 
345
      * S<nop>et WEBBGCOLOR = #FFFFC0
 
346
   * Preferences are used as [[%SYSTEMWEB%.Macros][Macros]] by enclosing the name in percent signs: ==%==. Example:
 
347
      * When you write ==%WEB<nop>BGCOLOR%==, it gets expanded to =%WEBBGCOLOR%= .
 
348
 
 
349
   * %X% The sequential order of the [[PreferenceSettings][preference settings]] is significant. Define preferences that use other preferences FIRST. For example, set ==<nop>WEBCOPYRIGHT== before ==<nop>WIKIWEBMASTER== since the copyright notice uses the Wiki administrator e-mail address.
 
350
   * %X% In order to protect your custom preferences from being overwritten when upgrading the [[%SYSTEMWEB%.%TOPIC%]] topic, it is recommended that all custom settings are defined in [[%USERSWEB%.%TOPIC%]].
 
351
 
 
352
---++ Protected System Settings
 
353
 
 
354
The following macros are declared final to protect them as read only. These are system macros that should
 
355
never be attempted set or altered in any preference topic or topic settings.
 
356
 
 
357
   * Set FINALPREFERENCES = WEB, TOPIC
 
358
 
 
359
---++ Related Topics
 
360
 
 
361
   * %WEBPREFSTOPIC% has preferences of the <nop>%WEB% web.
 
362
   * User topics in %USERSWEB% can have optional user preferences.
 
363
   * [[%SYSTEMWEB%.Macros][Macros]] has a list of common =%<nop>MACROS%=.
 
364
   * %SYSTEMWEB%.AccessControl explains how to restrict access by users or groups.
 
365
   * Foswiki:Extensions.PreferencesPlugin makes editing preferences a snap.
 
366
 
 
367
*Note*: Can't edit?
 
368
[[%SCRIPTURLPATH{"view"}%/%WEB%/%TOPIC%?raw=on][View raw topic]]