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

Item3921: renderWikiWordHandler called at wrong place in Render.pm; change to support bracket notation

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine   Normal Closed   minor  

Edit Form Data

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

Detail

Currently renderWikiWordHandler is only consumed by SpacedWikiWordPlugin. But this plugin does not handle links inside double brackets.

Because renderWikiWordHandler is called from _handleWikiWord, WebHome will be rendered as Web Home, but [[WebHome]] remains unchanged.

By moving the call to internalLink bracket links are supported too.

For SpacedWikiWordPlugin I have created the following rules:

- Space out in case of TopicName, Web.TopicName, [[TopicName]]
- Do not space out in case of [[TopicName][TopicName]] or [[TopicName][SomeOtherName]]
that is: if an explicit link label is set: do no space out.

I figured it has to be determined by plugin authors if the link label should be rendered differently even if the topic author has used a specific link label. But search results not so clear-cut; what to do with [[$web.$topic][$topic]]?

Any decision is also valid for future rendering of underscore wikiwords.

-- TWiki:Main/ArthurClemens - 19 Apr 2007

IMHO [[$web.$topic][$topic]] is an explicit link; the $topic in the second [] should not be touched. If it's to be spaced out, then %SPACEOUT{}% needs to be called on it.

-- TWiki:Main.CrawfordCurrie - 20 Apr 2007

I tend to agree, but it might be cumbersome to have different instructions to create spaced out search results. And to have conditional rendering in topics like WebChanges.

-- TWiki:Main.ArthurClemens - 23 Apr 2007

Closed with Item3991 and Item3920.

-- TWiki:Main.ArthurClemens - 06 May 2007

Cleaned "WaitingFor" field.

-- TWiki:Main.GilmarSantosJr - 10 Aug 2008

ItemTemplate
Summary renderWikiWordHandler called at wrong place in Render.pm; change to support bracket notation
ReportedBy TWiki:Main.ArthurClemens
Codebase

SVN Range TWiki-4.1.2, Sun, 15 Apr 2007, build 13419
AppliesTo Engine
Component

Priority Normal
CurrentState Closed
WaitingFor

Checkins TWikirev:13472 TWikirev:13473 TWikirev:13474 TWikirev:13475
TargetRelease minor
ReleasedIn

Edit | Attach | Watch | Print version | History: r12 < r11 < r10 < r9 < r8 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r12 - 2008-08-10 - GilmarSantosJr
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback