Question
I created a new web that is a
WikiWord. So whenever the name of the web is displayed it has the "_?" after it. In most places I put <nolink> tags around it to suppress the link but I can't find where the header for search results is printed ("Results from
UclpDev web"). This apprears in the Changes and
WebIndex topics. I did a quick search in the perl scripts but didn't find it. Can you tell me where to find it?
Thanks
Scott
Environment
--
ScottCampbellTwo - 16 Jun 2005
Answer
Look in the
twiki/templates directory and fix the
search*.tmpl files. Although I wonder why this is necessary since
TWikiRelease02Sep2004 has web names escaped in the templates. Are you using a translated version?
BTW, better to escape with a single
<nop> tag (without closing tag), TWiki will strip that before it reaches the browser. Example: Write
<nop>%WEB% web to get
UclpDev web (in your case)
--
PeterThoeny - 16 Jun 2005
SVN 4079, 4077, 4075, 4074, 4073, 4072, 4071 all contain
<nop> patches related to
WebNameAsWikiName
--
WillNorris - 16 Jun 2005
I have the same problem (web name based in organisation, organisation doesn't understand the impact of choosing a WikiWord for a new concept

). Would a %DONOTLINK % variable be a good idea, where common terms which are WikiWords but should not be linked by default can be listed?
Just a thought...
--
JosMaccabiani - 17 Jun 2005
Thanks Peter,
I'm using the English version of
TWikiRelease02Sep2004 with the default templates. Actually, in most cases, the %WEB% references are dereferenced with the <nop>.
I found the reference for the search results header in templates/search.pattern.tmpl on line 47. It didn't have the <nop> infront of the
%WEB%.
Another one was in the WebLeftBar. The last place I noticed is in the WebPreferences on the first line below the
preferences where is says "List of topics of the %WIKITOOLNAME%.%WEB% web:"
I'll let you know if I find any more.
--
ScottCampbellTwo - 17 Jun 2005