Item11684: square brackets link processing has changed meaning since 2004
Priority: Normal
Current State: No Action Required
Released In: n/a
Target Release: n/a
Applies To: Engine
Component:
Branches: trunk
This one's a doozy. On this user's TWiki, there are a number of links, that foswiki makes differently (ie, breaks). Their TWiki is from 2004, but I would like to examine if we can make things work for upgraders from 1998-2005 (or whenever it quietly changed)
basically, slashes used to be removed before spaces were turned into bumpy words, whereas now they're used for web separators.
and quotes used to be removed before bumpywording, but now they cause capitalisation too.
its plausible that
WebThatDoesNotExist/TopicName should not really link to a web that does not exist!
one way to mitigate it might just be to look for the existence of the old linked topic if the new linked topic isn't there..
--
SvenDowideit - 22 Mar 2012
then again, this might well be exactly the kind of thing the wikiword plugin handler can deal with.
--
SvenDowideit - 22 Mar 2012
When did Hierarchical webs come into existence?
--
GeorgeClark - 22 Mar 2012
Needs testing but it looks like there is a simple fix.
- Disable Hierarchical webs
$Foswiki::cfg{EnableHierarchicalWebs}
- Add the forward slash to the
$Foswiki::cfg{NameFilter}
regex.
Tested here.
[[Member/Finance]]
becomes a link to topic
MemberFinance
--
GeorgeClark - 22 Mar 2012
Item11695 is a brutish way to do this without losing modern nested webs, but you're right, wonderful
--
SvenDowideit - 26 Mar 2012
ah, no, it doesn't work - slash and dot didn't cause capitalisation.
--
SvenDowideit - 26 Mar 2012
I'm going to set this to No Action. I think there is a limit to how much backwards compatibility we can keep.
--
GeorgeClark - 21 Dec 2014