I created [[bracket link one]] on a page.
I clicked on the link to create the target page, BracketLinkOne .
I then used the "more" link on BracketLinkOne to rename the page to BracketLinkOneA.
The rename operation did not find any
places where BracketLinkOne was used, so when the rename occurred visiting the original page with [[bracket link one]] once again showed an "unresolved" link that I could create.
- 01 Apr 2007
This is a known problem. It would be very difficult to code something that works efficiently.
If we were going to make it work we need to do this everytime we rename a topic
- analyse all bracket links in all topics to see if removing spaces and capitalizing first letter in each word will create the same wiki word we are coming renaming from.
- find a way to guess how a link like "[[my own topic]]" which becomes MyOwnTopic will be renamed. Will for example renaming to "!MyWonderfulNewPage be renamed to "my wonderful new page"? Then TWiki would need to put spaces into the renamed word if the original word was with spaces. But should the words then be lower case? What if the original link had lower case and now is renamed to a topic with a name which is supposed to be upper case.
It is not a trivial change. But I understand the desire to have it made. But I think we would need to park it until TWiki has developed our storage model into something more efficient so that the storage would contain an indexed list of links including the converted square bracket links.
I think it would take hours to rename a topic on a large old TWiki if we implement something that tries to convert square bracket links to wiki words in al topics during a rename.
- 01 Apr 2007
I this is a bug that is new in TWiki 4. I just verified the rename on a Cairo install. A
[[bracket link one]]
backlink is found during rename of
BracketLinkOne; it gets changed to =[[BracketLinkOneA][bracket link one]]
, as expected.
- 02 Apr 2007
Fixed on MAIN but not merged to patch branch.