• 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.

Item5326: Unexpected effect of INCLUDE when included topic is from another web and returns a WikiWord

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine VarINCLUDE Low No Action Required   n/a  

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

---+ !! Tool %INCLUDE{"LitterTray.TableField" CellValue="Tool"}%
produces:

Tool LitterTray.FrameMaker

Home: Tools list   Parent topic
Tool: FrameMaker * Name of the tool


expected heading:

Tool FrameMaker


so: Why the hack is the name of the web used in INCLUDE added when the result of the included search is a WikiWord?

-- TWiki:Main/FranzJosefGigler - 05 Feb 2008

Of course I can work around this by adding <nop> to the search, but IMHO this shouldn't be possible at all --> bug.

-- TWiki:Main.FranzJosefGigler - 05 Feb 2008

I believe this is spec. If you include a topic from another web, plain WikiWord links need to be prefixed, e.g. linked as Otherweb.WikiWord so that links continue to work.

-- TWiki:Main.PeterThoeny - 09 Feb 2008

Hm, can live with that as I have a workaround, but I think this behaviour should be somehow documented as the search result is the WikiWord that gets expanded.

-- TWiki:Main.FranzJosefGigler - 11 Feb 2008

This is spec, closing as an N/A.

At some point we need to support modes of auto-linking and non-auto-linking.

-- TWiki:Main.PeterThoeny - 13 May 2010

ItemTemplate
Summary Unexpected effect of INCLUDE when included topic is from another web and returns a WikiWord
ReportedBy TWiki:Main.FranzJosefGigler
Codebase 4.2.0
SVN Range TWiki-5.0.0, Wed, 23 Jan 2008, build 16283
AppliesTo Engine
Component VarINCLUDE
Priority Low
CurrentState No Action Required
WaitingFor

Checkins

TargetRelease n/a
ReleasedIn

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r4 - 2010-05-13 - PeterThoeny
 
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