cross
New Foswiki release 2.1.6 is available with important security fixes.
Sourceforge foswiki email lists being discontinued. Subscribe to the new Foswiki announce and discuss lists at MailingLists
You are here: Foswiki>Tasks Web>Item12930 (17 Dec 2015, GeorgeClark)Edit Attach

Item12930: Inconsistencies in how subwebs are referenced

pencil
Priority: Normal
Current State: Proposal Required
Released In: n/a
Target Release: minor
Applies To: Engine
Component: FoswikiRender, ManagingWebs, SubscribePlugin
Branches:
Reported By: LeilaPearson
Waiting For:
Last Change By: GeorgeClark
I'm just starting to use subwebs on my site and found that sometimes a dot is used as a delimiter between webs and subwebs and other times a slash is used as a delimiter.

For example (not an exhaustive list):
  • To create a web on ManagingWebs you are told "If you are creating a sub-web (a web inside a web), use the notation Existingweb.Newweb"
  • The SUBSCRIBE macro expects the format web.subweb.* to subscribe to all topics in a subweb
  • Links of the form below will show up as web.subweb instead of web/subweb
[[%WEB%/WebHome][%WEB%]]

This can be confusing for users and adminstrators.

Also, the WEB macro returns the webname with slash delimiters and there isn't a macro that returns the webname with the slash(es) replaced by dot(s). This means there's no easy way to supply macros like SUBSCRIBE with the current web name except to hard code it since it is expecting the current web name to have dot delimiters, not slash delimters.

It would be good to clean this up.

-- LeilaPearson - 31 May 2014

Confirming this. It would be good if someone could pick this up for 1.2. I was under the impression that we always use Web/Subweb/Subsubweb.topic. The dot only being used as a web-topic delimiter.

-- GeorgeClark - 01 Jun 2014

See also Item11749. Templates use Web.Subweb.Template

-- GeorgeClark - 19 Jun 2014

Deferring this to 2.0. Also marked as Proposal Required. Some of this could potentially impact Foswiki operation, so best to discuss this rather than fixing without a design.


And now deferred to 2.1

-- Main.GeorgeClark - 06 Jul 2015 - 03:27

-- GeorgeClark - 24 Apr 2015

See also Item13813

-- GeorgeClark - 27 Oct 2015

Deferring to future release.

-- GeorgeClark - 17 Dec 2015
 

ItemTemplate edit

Summary Inconsistencies in how subwebs are referenced
ReportedBy LeilaPearson
Codebase 1.1.9, trunk
SVN Range
AppliesTo Engine
Component FoswikiRender, ManagingWebs, SubscribePlugin
Priority Normal
CurrentState Proposal Required
WaitingFor
Checkins
TargetRelease minor
ReleasedIn n/a
CheckinsOnBranches
trunkCheckins
masterCheckins
ItemBranchCheckins
Release02x00Checkins
Release01x01Checkins
Topic revision: r7 - 17 Dec 2015, GeorgeClark - This page was cached on 21 Jul 2018 - 07:36.

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