The right-hand side of a double-bracket link should always be treated as literal text. However, in some circumstances, WikiWords on the right-hand side of the double brackets are expanded. When the code that includes those
WikiWords has been INCLUDEd from another web, the expansion includes the (wrong) web name!
Example (How I found this)
All webs are including their WebLeftBar topic from Shared/WebLeftBar. The content of Vicki/WebLeftBar is:
%INCLUDE{"Shared.WebLeftBar"}%
Depending on how the content of Shared/WebLeftBar is written, we get different results, including one very unexpected possibility.
Option 1
If Shared/WebLeftBar contains:
[[%INCLUDINGWEB%.TopicTree][Topic Tree]]
We get:
In Shared Web
|
In Including web (Vicki web)
|
Option 2
If
Shared/WebLeftBar
contains only a WikiWord within the brackets:
[[%INCLUDINGWEB%.TopicTree][TopicTree]]
We get:
In Shared Web
|
In Including web (Vicki web)
|
Option 3
But If
Shared/WebLeftBar
contains additional text
as well as a WikiWord within the brackets:
[[%INCLUDINGWEB%.TopicTree][My TopicTree]]
We get:
In Shared Web
|
In Including web (Vicki web)
|
--
TWiki:Main/VickiBrown
- 2013-05-10