From 2568a546ccf90f548040bd605968698758bb698b Mon Sep 17 00:00:00 2001 From: PeterThoeny Date: Sat, 23 Aug 2003 07:51:41 +0000 Subject: [PATCH] none --- TWiki/TWikiPreferences.mdwn | 4 ++-- TWiki/TWikiVariables.mdwn | 7 ++++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/TWiki/TWikiPreferences.mdwn b/TWiki/TWikiPreferences.mdwn index 3048a06..8527a1c 100644 --- a/TWiki/TWikiPreferences.mdwn +++ b/TWiki/TWikiPreferences.mdwn @@ -42,8 +42,8 @@ The following are **_site-level_** settings that affect all users in all webs on - Set NOAUTOLINK = - **_Note:_** Use the `[[...][...]]` syntax to link topics in case you disabled WikiWord linking. The ` ... ` syntax can be used to prevents links within a block of text. -- Warn if `%INCLUDE{}%` of other topic fails (if set to `on`); silently fail (if empty); can be overwritten by web preferences: - - Set INCLUDEWARNING = +- 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 ## User Settings diff --git a/TWiki/TWikiVariables.mdwn b/TWiki/TWikiVariables.mdwn index 8d63f85..691b093 100644 --- a/TWiki/TWikiVariables.mdwn +++ b/TWiki/TWikiVariables.mdwn @@ -288,7 +288,7 @@ This version of TWiki - TWiki-4.1.2, Sat, 03 Mar 2007, build 13046 - expands the 2 digit year 99 - Variables can be shortened to 3 characters. Example:
%GMTIME{"$day $month, $year - $hour:$min:$sec"}% is
29 Jun, 2010 - 15:42:11 + Variables can be shortened to 3 characters. Example:
%GMTIME{"$day $month, $year - $hour:$min:$sec"}% is
29 Jun, 2010 - 15:42:13 %SERVERTIME% @@ -347,6 +347,11 @@ This version of TWiki - TWiki-4.1.2, Sat, 03 Mar 2007, build 13046 - expands the Include a previous topic revision; N/A for URLs top revision + + warn="off" + Warn if topic include fails: Fail silently (if off); output default warning (if set to on); else, output specific text (use $topic for topic name) + %INCLUDE- WARNING% preferences setting + -- 1.9.4