Tags:
create new tag
view all tags

Question

When I rename a topic, that topic name in another topic's content is not changed. For example, when I rename the topic named WikiWord to WikiWordDev, another topic that has the name Support.WikiWord (as an example) without any [] around that word is not changed to WikiWordDev. WikiWord is changed, but not Support.WikiWord

Environment

TWiki version: 4.0.5
TWiki plugins:  
Server OS:  
Web server:  
Perl version:  
Client OS:  
Web Browser:  
Categories:  

-- SteveStark - 29 Nov 2006

Answer

ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.

You can only change one topic at at time. A topic with the same name in a different Web is still a different topic.

If you need to change more than one topic you might look at GlobalReplacePlugin.

-- ArthurClemens - 29 Nov 2006

No. What i am asking is...

Consider that I am renaming a topic in the main web. Within the contents of a topic, this word Link (for example) will be renamed when the topic named Link is renamed. However, MAINWEB.Link or Main.Link within the content of a topic will not be renamed.

-- SteveStark - 29 Nov 2006

I can't verify your claim. I've renamed a topic that is linked using the following link variants: TopicName, Web.TopicName, [[Web.TopicName]], %WEBNAME%.TopicName (where WEBNAME is set in WebPreferences). Only the last one failed.

Did you rename using the "Rename" screen (accessed through "More topic actions")? And did you leave the checkmarks of the to be updated topics on?

-- ArthurClemens - 29 Nov 2006

Yes I did, and the last one failed for me as well, which is the main reason for my question. Also, in the same link variants, the %WEB% part was renamed. For example, the topic Link was renamed to TWikiLink and the %WEB% part of that link variant was renamed to TWiki

Also, at the More topic actions (rename), the links to that topic will not display if the links are in another web because of the deprecated code in the backlinks.pattern.tmpl, backlinks.classic.tmpl and backlinks.tmpl

%SEARCH{ search="%WEB%.%TOPIC%... should be... %SEARCH{ search="%TOPIC%

the problem is also in the manage.pm

-- SteveStark - 29 Nov 2006

Does SEARCH work? Since TWiki uses SEARCH to find backlinks, if it doesn't work then you would see this effect.

-- CrawfordCurrie - 16 Dec 2006

search works, yes

-- SteveStark - 16 Dec 2006

humm, i upgraded from 4.0.4 to 4.0.5

prehapes something went wrong with the upgrade because the last one failed only after i fixed the templates and the manage.pm

I will investigate this issue and post back my findings.

-- SteveStark - 20 Dec 2006

No activity for over 30 days, closing this...

-- PeterThoeny - 01 Feb 2007

Change status to:
Edit | Attach | Watch | Print version | History: r12 < r11 < r10 < r9 < r8 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r12 - 2007-02-01 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.