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