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

Item5304: Inappropriate order of default linking for web/topic names

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine   Normal New   n/a  

Edit Form Data

Reported By:
Applies To:
Current State:
Waiting For:
Target Release:
Released In:


TWiki makes a convenient optimizing assumption: when only web name is given, it assumes topic WebHome. This is a fine assumption, but it should not be the default before looking for a page in the current web!

A coworker found this in a local WebTopicList page.

The page is created using

%TOPICLIST{"   * [[$name]]"}%

Two of the topics in this web happen to share a name with two of the webs on this site. Both the webs and the topics have WikiWords as their names. For example, the web in this example is named TrailBlazers. It contains two topics: TrailBlazers and UnicodeEverywhere. Coincidentally, there is also a UnicodeEverywhere web on the site.

When WebTopicList produces its list, the list contains:

   * [[TrailBlazers]]
   * [[UnicodeEverywhere]]

Here's the bug:

When clicked, those links default to TrailBlazers.WebHome and UnicodeEverywhere.WebHome. They should try first in the current web, linking to TrailBlazers.TrailBlazers and TrailBlazers.UnicodeEverywhere.

I have worked around the problem by editing the WebTopicList to use

%TOPICLIST{"   * [[%WEB%.$name]]"}%
however, this should not have been neccesary.

-- TWiki:Main/VickiBrown - 30 Jan 2008

Summary Inappropriate order of default linking for web/topic names
ReportedBy TWiki:Main.VickiBrown

SVN Range TWiki-5.0.0, Wed, 23 Jan 2008, build 16283
AppliesTo Engine

Priority Normal
CurrentState New


TargetRelease n/a

Topic revision: r1 - 2008-01-30 - VickiBrown
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback