• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

According to TWiki:TWiki.TWikiVariables, the warn parameter of %INCLUDE% is supposed to replace $topic with the name of the included topic. It also states that the default value is stored in %INCLUDEWARNING%.

When I tried using $topic in %INCLUDEWARNING%, no replacement was made. Looking at _INCLUDE in TWiki.pm I discovered that it was instead replacing $includingTopic with the included topic name.

See attached patch for suggested fix.

-- TWiki:Main.JasonHill - 17 Mar 2006

Thanks for reporting.

SVN 9373, TWiki4+DEVELOP.

-- SP

Closed with the release of 4.0.2


Summary $topic not substituted right in INCLUDEWARNING
ReportedBy TWiki:Main.JasonHill

SVN Range Mon, 13 Mar 2006 build 9310
AppliesTo Engine

Priority Normal
CurrentState Closed

Checkins 9373
TargetRelease patch
Topic attachments
I Attachment History Action Size Date Who Comment
Unknown file formatdiff bug1895.diff r1 manage 0.5 K 2006-03-17 - 04:37 UnknownUser  
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r5 - 2006-04-01 - KennethLavrsen
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback