none
[openafs-wiki.git] / TWiki / TWikiPreferences.mdwn
index 7701a58..55a75ed 100644 (file)
@@ -1,28 +1,35 @@
 # <a name="%WIKITOOLNAME% Site-Level Prefer"></a><a name=" %WIKITOOLNAME% Site-Level Prefe"></a> %WIKITOOLNAME% Site-Level Preferences
 
-The following are **_site-level_** settings that affect all users in all webs on this [[TWikiSite]]. They can be selectively overwritten on the **_individual web level_** (see [[WebPreferences]] in each web), and on the **_user level_** (create preferences in your user account topic in the Main web, ex: Main.admin).
+The following are **_site-level_** settings that affect all users in all webs on this [[TWikiSite]]. They can be selectively overwritten on the **_individual web level_** (see [[WebPreferences]] in each web), **_topic level_** (the topic being rendered), and on the **_user level_** (create preferences in your user account topic in the Main web, ex: Main.admin).
 
 - %X% **NOTE:** You can lock individual settings at the site or web levels using User &amp; Group Access Control - see section below.
 
 <div>
   <ul>
-    <li><a href="#Web Preferences"> Web Preferences</a></li>
-    <li><a href="#User Settings"> User Settings</a></li>
-    <li><a href="#TWiki Platform Settings"> TWiki Platform Settings</a></li>
-    <li><a href="#Email and Proxy Server Settings"> Email and Proxy Server Settings</a><ul>
+    <li><a href="#Default Web Preferences"> Default Web Preferences</a></li>
+    <li><a href="#Default User Settings"> Default User Settings</a></li>
+    <li><a href="#TWiki Platform Settings"> TWiki Platform Settings</a><ul>
+        <li><a href="#Search Settings"> Search Settings</a></li>
+        <li><a href="#Email and Proxy Server Settings"> Email and Proxy Server Settings</a></li>
         <li><a href="#Email Link Settings"> Email Link Settings</a></li>
+        <li><a href="#HTTP-EQUIV Settings"> HTTP-EQUIV Settings</a></li>
+      </ul>
+    </li>
+    <li><a href="#Skin Settings"> Skin Settings</a><ul>
+        <li><a href="#PatternSkin"> PatternSkin</a></li>
+        <li><a href="#DragonSkin"> DragonSkin</a></li>
       </ul>
     </li>
     <li><a href="#Plugins Settings"> Plugins Settings</a></li>
-    <li><a href="#HTTP-EQUIV Settings"> HTTP-EQUIV Settings</a></li>
     <li><a href="#Miscellaneous Settings"> Miscellaneous Settings</a></li>
     <li><a href="#Access Control Settings"> Access Control Settings</a></li>
+    <li><a href="#Preferences Control Settings"> Preferences Control Settings</a></li>
     <li><a href="#Creating New Preference Variable"> Creating New Preference Variables</a></li>
     <li><a href="#Related Topics"> Related Topics</a></li>
   </ul>
 </div>
 
-## <a name="Web Preferences"></a> Web Preferences
+## <a name="Default Web Preferences"></a> Default Web Preferences
 
 %X% **NOTE:** They are typically redefined in individual WebPreferences topics
 
@@ -33,7 +40,10 @@ The following are **_site-level_** settings that affect all users in all webs on
   - Set WEBBGCOLOR = #C0C0C0
 
 - Copyright notice:
-  - Set WEBCOPYRIGHT = <font>Copyright © 1999-2003 by the contributing authors. \\nAll material on this collaboration platform is the property of the contributing authors. <br /> \\nIdeas, requests, problems regarding %WIKITOOLNAME%? [Send](mailto:?subject=%WIKITOOLNAME% Feedback on %WEB%.%TOPIC%) feedback. </font>
+  - Set WEBCOPYRIGHT = Copyright © 1999-2010 by the contributing authors. \\nAll material on this collaboration platform is the property of the contributing authors. <br /> \\nIdeas, requests, problems regarding %WIKITOOLNAME%? [Send feedback](mailto:?subject=%WIKITOOLNAME% Feedback on %WEB%.%TOPIC%)
+
+- Simplified Copyright notice for the [[WebRss]] feed (don't use any special characters, xml tags or [[WikiWords]])
+  - Set WEBRSSCOPYRIGHT = Copyright 2010 by contributing authors
 
 - Exclude web from a `web="all"` search: (Set to `on` for hidden webs; is overwritten by web preferences)
   - Set NOSEARCHALL =
@@ -45,10 +55,14 @@ The following are **_site-level_** settings that affect all users in all webs on
 - Warn if `%INCLUDE{}%` of topic fails: Fail silently (if empty or `off`); output "Warning: Can't INCLUDE Topic, topic not found" (if set to `on`); else, output specific text (use `$topic` for topic). You can override this setting by web preferences and by a `warn="..."` parameter in `%INCLUDE{}%` :
   - Set INCLUDEWARNING = %RED% **_Note:_** %ENDCOLOR% Included topic [[$topic|Main/Topic]] does not exist yet
 
-## <a name="User Settings"></a> User Settings
+## <a name="Default User Settings"></a> Default User Settings
 
 %X% **NOTE:** They are typically redefined in topics of individual [[TWikiUsers]]
 
+- 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: (can be overwritten by user preferences)
   - Set EDITBOXWIDTH = 70
 
@@ -75,11 +89,11 @@ The following are **_site-level_** settings that affect all users in all webs on
   - %H% **NOTE:** Keyword <code>**$name**</code> gets expanded to filename; <code>**$comment**</code> to comment; <code>**$size**</code> to <code>**width="..." height="..."**</code> attribute of <code>**img**</code> tag; <code>**\\t**</code> to tab (3 spaces for bullets).
 
           * Set ATTACHEDIMAGEFORMAT = \t* $comment: <br />
-            <img src="%ATTACHURLPATH%/$name" alt="$name" $size />
+            <img src="%ATTACHURLPATH%/$name" alt="$comment" $size />
 
 ## <a name="TWiki Platform Settings"></a> TWiki Platform Settings
 
-- TWiki platform name:
+- TWiki site name:
   - Set WIKITOOLNAME = TWikibeta
 
 - Image, URL and alternate tooltip text of TWiki logo: (can be overwritten by web preferences)
@@ -88,11 +102,11 @@ The following are **_site-level_** settings that affect all users in all webs on
   - Set WIKILOGOALT = TWiki home
 
 - List of %WIKITOOLNAME% webs - on the first line of the upper toolbar (to add a new web, see [[ManagingWebs]] and [[SiteMap]]):
-  - Set WIKIWEBLIST = [[Main|Main/WebHome]] | [[TWiki|TWiki/WebHome]] | [[Know|Know/WebHome]] | [[Sandbox|Sandbox/WebHome]]
+  - Set WIKIWEBLIST = [[Main|Main/WebHome]] | [[TWiki|TWiki/WebHome]] | [[Sandbox|Sandbox/WebHome]]
   - %T% **NOTE:** To automatically list all non-hidden webs in alphabetical order, use the `%WEBLIST{}%` variable instead: <br />
 
-- Skin overriding the default TWiki templates: (can be overwritten by [[WebPreferences]] and user preferences)
-  - Set SKIN =
+- Maximum size of [[FileAttachments]] in KB, 0 for no limit:
+  - Set ATTACHFILESIZELIMIT = 10000
 
 - Broadcast message for skins supporting a %BROADCASTMESSAGE% at the top of the page: (IMPORTANT: Set to empty message if not used; #Comment out unused messages)
   - Set BROADCASTMESSAGE =
@@ -101,14 +115,25 @@ The following are **_site-level_** settings that affect all users in all webs on
     <td bgcolor="yellow"><font color="red"><strong>NOTE:</strong></font><font size="-1"> 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 %WIKITOOLNAME% maintenance. </font></td>
   </tr>
 </table>
+  - If you use [[PatternSkin]]:
+  - #Set BROADCASTMESSAGE = <div><strong>NOTE:</strong> 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 %WIKITOOLNAME% maintenance.</div>
 
-## <a name="Email and Proxy Server Settings"></a> Email and Proxy Server Settings
+### <a name="Search Settings"></a> Search Settings
+
+- Default type for search, one of: keyword (for search engine like syntax), regex (for [[RegularExpression]] search), or literal (for verbatim search)
+  - Set SEARCHDEFAULTTTYPE = keyword
+- Default for `%SEARCH{}%` variable, 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
+
+### <a name="Email and Proxy Server Settings"></a> Email and Proxy Server Settings
 
 - TWiki webmaster email address:
   - Set WIKIWEBMASTER = <webmaster@your.company>
 
 - TWiki webmaster name (first name and last name, e.g. `Fred Smith`):
-  - Set WIKIWEBMASTERNAME = TWiki Webmaster
+  - Set WIKIWEBMASTERNAME = TWiki Administrator
 
 - Mail host for outgoing mail. This is used for [[WebChangesAlert]] if Perl module <code>**Net::SMTP**</code> is installed. If not, or if `SMTPMAILHOST` is empty, the external sendmail program is used instead (defined by <code>**$mailProgram**</code> in <code>**TWiki.cfg**</code>). Examples: <code>**mail.your.company**</code> or <code>**localhost**</code>
   - Set SMTPMAILHOST = mail
@@ -131,21 +156,14 @@ The following are **_site-level_** settings that affect all users in all webs on
 - URL for current topic
   - Set TOPICURL = <http://www.dementia.org/twiki//view/%WEB%/WebHome>
 
-## <a name="Plugins Settings"></a> Plugins Settings
-
-- [[TWikiPlugins]] configuration: All plugin modules that exist in the `lib/TWiki/Plugins` directory are activated automatically unless disabled by DISABLEDPLUGINS. You can optionally list the installed plugins in INSTALLEDPLUGINS. This is useful to define the sequence of plugin execution, or to specify other webs then the TWiki web for the plugin topics. Specify plugins as a comma separated list of topics.
-  - Set INSTALLEDPLUGINS = [[DefaultPlugin]], [[SpreadSheetPlugin]]
-  - Set DISABLEDPLUGINS = [[EmptyPlugin]]
-  - Currently activated plugins: [[SpreadSheetPlugin]], [[CommentPlugin]], [[EditTablePlugin]], [[InterwikiPlugin]], [[PreferencesPlugin]], [[SlideShowPlugin]], [[SmiliesPlugin]], [[TablePlugin]], [[TwistyPlugin]]
-  - %T% **NOTE:** You can enable/disable all plugins with the <code>**$disableAllPlugins**</code> flag in the <code>**lib/TWiki.cfg**</code> file.
-
-## <a name="HTTP-EQUIV Settings"></a> HTTP-EQUIV Settings
+### <a name="HTTP-EQUIV Settings"></a> HTTP-EQUIV Settings
 
 - %T% **NOTE:** Changing cache behaviour with these settings should not be necessary and may cause cache-related problems (e.g. TWiki:Codev/BackFromPreviewLosesText or TWiki:Codev/RefreshEditPage). These settings do not affect proxy caches.
 
 - <code>**http-equiv**</code> meta tags for <code>**view**</code>, <code>**rdiff**</code>, <code>**attach**</code>, <code>**search\***</code> scripts:
 
-          * Set HTTP_EQUIV_ON_VIEW =
+          * #Set HTTP_EQUIV_ON_VIEW =
+          * Set HTTP_EQUIV_ON_VIEW =  <link rel="alternate" type="application/rss+xml" title="RSS Feed" href="%SCRIPTURL%/view%SCRIPTSUFFIX%/%WEB%/WebRss?skin=rss&amp;contenttype=text/xml" />
 
 - <code>**http-equiv**</code> meta tags for <code>**edit**</code> script:
 
@@ -155,6 +173,36 @@ The following are **_site-level_** settings that affect all users in all webs on
 
           * Set HTTP_EQUIV_ON_PREVIEW =
 
+## <a name="Skin Settings"></a> Skin Settings
+
+- Skin overriding the default TWiki templates: (can be overwritten by [[WebPreferences]] and user preferences)
+  - #Set SKIN = pattern
+
+- **_Note:_** See [[TWikiSkinBrowser]] for currently installed skins
+
+### <a name="PatternSkin"></a> [[PatternSkin]]
+
+- Using attachments for styles
+  - Set TWIKILAYOUTURL = <http://www.dementia.org/twiki//view/TWiki/PatternSkin/layout.css>
+  - Set TWIKISTYLEURL = <http://www.dementia.org/twiki//view/TWiki/PatternSkin/style.css>
+
+### <a name="DragonSkin"></a> [[DragonSkin]]
+
+- Theme: (gray, monochrome, tabstyle)
+  - Set DS\_THEME = gray
+- Quicklinks headings:
+  - Set DS\_QUICKLINKSHEADING =
+- Quicklinks submenu:
+  - Set DS\_QUICKLINKS =
+
+## <a name="Plugins Settings"></a> Plugins Settings
+
+- [[TWikiPlugins]] configuration: All plugin modules that exist in the `lib/TWiki/Plugins` directory are activated automatically unless disabled by DISABLEDPLUGINS. You can optionally list the installed plugins in INSTALLEDPLUGINS. This is useful to define the sequence of plugin execution, or to specify other webs then the TWiki web for the plugin topics. Specify plugins as a comma separated list of topics.
+  - Set INSTALLEDPLUGINS = [[DefaultPlugin]], [[SpreadSheetPlugin]]
+  - Set DISABLEDPLUGINS = [[EmptyPlugin]]
+  - Currently activated plugins: [[SpreadSheetPlugin]], [[CommentPlugin]], [[EditTablePlugin]], [[InterwikiPlugin]], [[PreferencesPlugin]], [[SlideShowPlugin]], [[SmiliesPlugin]], [[TablePlugin]], [[TwistyPlugin]]
+  - %T% **NOTE:** You can enable/disable all plugins with the <code>**$disableAllPlugins**</code> flag in the <code>**lib/TWiki.cfg**</code> file.
+
 ## <a name="Miscellaneous Settings"></a> Miscellaneous Settings
 
 - Line break:
@@ -193,6 +241,7 @@ The following are **_site-level_** settings that affect all users in all webs on
   - %GREEN% **Set GREEN = looks like this** %ENDCOLOR%
   - %OLIVE% **Set OLIVE = looks like this** %ENDCOLOR%
   - %MAROON% **Set MAROON = looks like this** %ENDCOLOR%
+  - %BROWN% **Set BROWN = looks like this** %ENDCOLOR%
   - %BLACK% **Set BLACK = looks like this** %ENDCOLOR%
   - %GRAY% **Set GRAY = looks like this** %ENDCOLOR%
   - %SILVER% **Set SILVER = looks like this** %ENDCOLOR%
@@ -212,6 +261,7 @@ The following are **_site-level_** settings that affect all users in all webs on
           * Set GREEN = <font color="#008000">
           * Set OLIVE = <font color="#808000">
           * Set MAROON = <font color="#800000">
+          * Set BROWN = <font color="#996633">
           * Set BLACK = <font color="#000000">
           * Set GRAY = <font color="#808080">
           * Set SILVER = <font color="#c0c0c0">
@@ -246,13 +296,21 @@ The following are **_site-level_** settings that affect all users in all webs on
 
 - Users or groups allowed to change or rename this %TOPIC% topic: (ex: [[TWikiAdminGroup]])
   - Set ALLOWTOPICCHANGE =
-  - Set ALLOWTOPICRENAME =
+  - Set ALLOWTOPICRENAME = [[TWikiAdminGroup]]
 
 - Users or groups allowed to [[create new webs|TWiki/ManagingWebs]]: (ex: [[TWikiAdminGroup]])
   - Set ALLOWWEBMANAGE = [[TWikiAdminGroup]]
 
+## <a name="Preferences Control Settings"></a> Preferences Control Settings
+
+- Allow topic level preferences, on or off: If set to `on`, topic preferences will be read, and will override any web- or site-level preferences not set as `FINALPREFERENCES`. By default, user preferences will override topic preferences.
+  - Set READTOPICPREFS = on
+
+- Topic level overrides user level preferences, on or off: If set to `on`, topic preferences will override user preferences. The user can in turn override this behavior by setting further `FINALPREFERENCES` in his or her user topic.
+  - Set TOPICOVERRIDESUSER = off
+
 - Site-level preferences that are **not** allowed to be overridden by [[WebPreferences]] and user preferences:
-  - Set FINALPREFERENCES = PREVIEWBGIMAGE, WIKITOOLNAME, WIKIWEBMASTER, SMTPMAILHOST , SMTPSENDERHOST, ALLOWWEBMANAGE
+  - Set FINALPREFERENCES = ATTACHFILESIZELIMIT, PREVIEWBGIMAGE, WIKITOOLNAME, WIKIWEBMASTER, SMTPMAILHOST, SMTPSENDERHOST, ALLOWWEBMANAGE, READTOPICPREFS, TOPICOVERRIDESUSER, BASICSTYLETOPIC
 
 ## <a name="Creating New Preference Variable"></a> Creating New Preference Variables