Question
The usage of
WikiName in a Topic which is INCLUDES(ed) to a Topic in another Web will be expanded to MAINBWEB.WIKINAME instead to WikiName. Is this behaviour intentional?
Environment
--
SteveWeinreich - 28 Feb 2005
Answer
When you INCLUDE a topic located in
Foo web into a topic in a
Bar web, TWiki fixes internal links in the included topic with this rule:
- A regular
WikiWord link is changed to Foo.WikiWord link so that the link points to the correct place
- A
Bar.WikiWord link is changed to WikiWord link since it is now in the same web
- Any
Otherweb.WikiWord link is left untouched
--
PeterThoeny - 01 Mar 2005
Well I have centralized the WebLeftBar´s to the Main web and in the Main.WebLeftBar I use
$PROPERSPACE(% WIKINAME %)
for a Greeting but this breaks if the Topic is included from another web. Is there a way around this?
--
SteveWeinreich - 01 Mar 2005
In this case you can use a spreadsheet formula to cut of
Main. before spacing out the name.
--
PeterThoeny - 01 Mar 2005
I notice that this expansion occurs even when the WikiName cannot be used as a link, as in [[http://www.wincvs.org/ WinCVS]] expands to look like
Otherwebname.WinCVS
Try using a ! before the wikiname you want to render as a non-link like this: [[http://www.wincvs.org/ !WinCVS]]
--
RobertEchlin - 22 Mar 2005