Changeset 1285 for trunk/core/data/System/DefaultPreferences.txt
- Timestamp:
- 12/12/08 05:58:03 (3 years ago)
- File:
-
- 1 edited
-
trunk/core/data/System/DefaultPreferences.txt (modified) (11 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/core/data/System/DefaultPreferences.txt
r1234 r1285 46 46 47 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 = 48 * Set NOSEARCHALL = 49 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 = 50 * Set NOAUTOLINK = 51 51 * __Note:__ Use the =[<nop>[...][...]]= syntax to link topics in case you disabled <nop>WikiWord linking. The =<noautolink> ... </noautolink>= syntax can be used to prevents links within a block of text. 52 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 53 * Set HIDE_NON_WIKI_WORD_WARNINGS = 54 54 55 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 56 * Set INCLUDEWARNING = on … … 61 61 * If not set: =1= 62 62 * Possible values: =1= to =6= 63 * The last header level to appear in the TOC: 63 * The last header level to appear in the TOC: 64 64 * Set TOC_MAX_DEPTH = 65 65 * If not set: =6= 66 66 * Possible values: =1= to =6= 67 * Can be overridden by =depth= parameter of [[%SYSTEMWEB%.VarTOC 2][TOC]]67 * Can be overridden by =depth= parameter of [[%SYSTEMWEB%.VarTOC][TOC]] 68 68 * The default TOC title: 69 69 * Set TOC_TITLE = 70 70 * If not set: nothing 71 71 * Possible values: any string, for example =On this page:= 72 * Can be overridden by =title= parameter of [[%SYSTEMWEB%.VarTOC 2][TOC]]72 * Can be overridden by =title= parameter of [[%SYSTEMWEB%.VarTOC][TOC]] 73 73 * Do not show a TOC if the topic it contains is included in another topic: 74 74 * Set TOC_HIDE_IF_INCLUDED = 75 75 * If not set: included TOC is shown 76 76 * Possible values: =on= or nothing 77 77 78 78 ---++ Default User Settings 79 79 … … 94 94 95 95 * 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) 96 * Set FORCENEWREVISIONCHECKBOX = 96 * Set FORCENEWREVISIONCHECKBOX = 97 97 98 98 * 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) 99 * Set DONTNOTIFYCHECKBOX = 99 * Set DONTNOTIFYCHECKBOX = 100 100 101 101 * 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) 102 * Set ATTACHLINKBOX = 102 * Set ATTACHLINKBOX = 103 103 104 104 * Format of file link when the __link__ check box is checked: (can be overwritten by user preferences) … … 137 137 138 138 * 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) 139 * Set BROADCASTMESSAGE = 139 * Set BROADCASTMESSAGE = 140 140 * #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. 141 141 … … 170 170 171 171 * ==http-equiv== meta tags for ==view==, ==rdiff==, ==attach==, ==search*== scripts: 172 * #Set HTTP_EQUIV_ON_VIEW = 172 * #Set HTTP_EQUIV_ON_VIEW = 173 173 * Set HTTP_EQUIV_ON_VIEW = <link rel="alternate" type="application/rss+xml" title="RSS Feed" href="%SCRIPTURLPATH{"view"}%/%WEB%/WebRss" /> 174 174 175 175 * ==http-equiv== meta tags for ==edit== script: 176 * Set HTTP_EQUIV_ON_EDIT = 176 * Set HTTP_EQUIV_ON_EDIT = 177 177 178 178 * ==http-equiv== meta tags for ==preview== script: 179 * Set HTTP_EQUIV_ON_PREVIEW = 179 * Set HTTP_EQUIV_ON_PREVIEW = 180 180 181 181 182 182 ---++ Skin Settings 183 183 184 * Skin overriding the default templates: (can be overwritten by WebPreferences and user preferences) 184 * Skin overriding the default templates: (can be overwritten by WebPreferences and user preferences) 185 185 * Set SKIN = pattern 186 186 … … 197 197 * Set PATTERNSKIN_THEME = %PUBURLPATH%/%SYSTEMWEB%/PatternSkin/theme_foswiki_noframe.css 198 198 * Set PATTERNSKIN_COLUMNS = %PUBURLPATH%/%SYSTEMWEB%/PatternSkin/column_left.css 199 199 200 200 * Overriding styles that add upon the global and theme styles. Enabled by default but empty to prevent browsers from fetching %<nop>USERLAYOUTURL%-style URLs. 201 * Set USERLAYOUTURL = 202 * Set USERSTYLEURL = 203 * Set USERCOLORSURL = 204 * Set WEBHEADERART = 205 * Set WEBHEADERBGCOLOR = 206 201 * Set USERLAYOUTURL = 202 * Set USERSTYLEURL = 203 * Set USERCOLORSURL = 204 * Set WEBHEADERART = 205 * Set WEBHEADERBGCOLOR = 206 207 207 ---+++ Skin icons 208 208 … … 232 232 233 233 * Line break: Note that the setting has an intentional trailing space 234 * Set BR = <br /> 234 * Set BR = <br /> 235 235 236 236 * Bullet sign: … … 316 316 * 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=. 317 317 * default setting: 318 * Set NEWLINKFORMAT = <span class="foswikiNewLink">$text<a href="%SCRIPTURLPATH{"edit"}%/$web/$topic?topicparent=%WEB%.%TOPIC%" rel="nofollow" title="%MAKETEXT{"Create this topic"}%">?</a></span> 318 * Set NEWLINKFORMAT = <span class="foswikiNewLink">$text<a href="%SCRIPTURLPATH{"edit"}%/$web/$topic?topicparent=%WEB%.%TOPIC%" rel="nofollow" title="%MAKETEXT{"Create this topic"}%">?</a></span> 319 319 * alternative setting: 320 320 * #Set NEWLINKFORMAT = <a class="foswikiNewLink" href="%SCRIPTURLPATH{"edit"}%/$web/$topic?topicparent=%WEB%.%TOPIC%" rel="nofollow" title="%MAKETEXT{"Create this topic"}%">$text</a> … … 325 325 * User-friendly synonyms for system webs 326 326 * Set DOCWEB = %SYSTEMWEB% 327 327 328 328 * show extra help for !ApacheLogin users for Main.AdminUser login 329 329 * Set ADMINLOGIN = %IF{"{LoginManager} = 'Foswiki::LoginManager::ApacheLogin' AND NOT context authenticated" … … 338 338 339 339 ---++ Creating New Preference Settings 340 340 341 341 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). 342 342 * 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): … … 350 350 ---++ Protected System Settings 351 351 352 The following macros are declared final to protect them as read only. These are system macros that should 353 never be attempted set or altered in any preference topic or topic settings. 352 The following macros are declared final to protect them as read only. These are system macros that should 353 never be attempted set or altered in any preference topic or topic settings. 354 354 355 355 * Set FINALPREFERENCES = WEB, TOPIC
Note: See TracChangeset
for help on using the changeset viewer.
