You are here: Foswiki>Tasks Web>Item12582 (05 Jul 2015, GeorgeClark)Edit Attach

Item12582: Clarify linking to subwebs and topics of same name.

Priority: Normal
Current State: Closed
Released In: 2.0.0
Target Release: major
Applies To: Engine
Component: Documentation
Branches: master
Reported By: JulianLevens
Waiting For:
Last Change By: GeorgeClark
The docs in TopicsAndWebs talks about sub-webs that have the same name as existing topics. It states here that you need a trailing '/' to disambiguate between the sub-web name and the topic. What it does not state is that this only works in [[]] links.

This also suggests that it should be made clear in the ManagingWebs topic that WikiWords are valid web-names but the above consequence follows. Also note that if you create a web as a WikiWord then whether or not that subweb-name also exists as a topic, it is always better to refer to this sub-web with a trailing slash and in squabs.

Is it a bug that auto-linking cannot cope with the trailing '/' out of squabs?

On a related I thought I had seen documentation recommending or even mandating that web-names should not be a WikiWord, but merely a Word (i.e only initial CAPS and no camel-ing please). Was this ever the case? Has this restriction since been lifted? Or am I mistaken?

-- JulianLevens - 09 Sep 2013

  • Bug with autolinking with trailing slash? No. The only thing Foswiki will autolink is a topic. The trailing slash follows a web name, not a topic.
  • Recommendation about not-a-wikiword? I seem to recall that as well. I've added it as a recommendation in ManagingWebs topic. But as the examples show wikiwords, it's not a particularly strong recommendation.

-- GeorgeClark - 15 Mar 2015

ItemTemplate edit

Summary Clarify linking to subwebs and topics of same name.
ReportedBy JulianLevens
SVN Range
AppliesTo Engine
Component Documentation
Priority Normal
CurrentState Closed
Checkins distro:9523e24aa45c
TargetRelease major
ReleasedIn 2.0.0
CheckinsOnBranches master
masterCheckins distro:9523e24aa45c
Topic revision: r4 - 05 Jul 2015, GeorgeClark - This page was cached on 15 Feb 2017 - 10:30.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License