Tags:
create new tag
view all tags

Question

Hi!

We've got a web - let's call it Apple web - and because we now also publish articles about pears we would like to rename it to Fruit web. Using the rename tool from the WebPreferences topic of this web, I managed to rename the web and all the links pointing to topics in this web - so far so good. However, if I leave all the tickboxes in the rename tool under the heading = Change links in topics that refer to= enabled, it also renames all occurrences of Apple in the titles and subtitles of these topics. This is of course not what we want. Is this a bug of the rename tool or is there a way around?

Thanks for your help!

Environment

TWiki version: TWikiRelease04x01x02
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Debian Etch 2.6.18-4-486
Web server: Apache 2.2.3
Perl version: 5.8.8
Client OS: Windows XP
Web Browser: Firefox 2 & IE 6
Categories: Deployment

-- MartinKaufmann - 17 Sep 2007

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.

That looks like a bug in the rename tool. Please file a bug report.

Options to fix this:

  • edit every topic (time consuming)
  • install and use the GlobalReplacePlugin
  • restore from backup and rename the web on the shell level: SSH login to the server, rename twiki/data/Apple to twiki/data/Fruit, and rename twiki/pub/Apple to twiki/pub/Fruit. You need to fix links pointing into the Apple web manually.

-- PeterThoeny - 18 Sep 2007

Thanks! I filed a bug report under Bugs:Item4664.

About the options you're suggesting: The first and last option aren't viable in my situation as they are very time-consuming (the web isn't very large but still). As a next step I going to check out the GlobalReplacePlugin.

BTW I had a backup - so it was straight-forward to restore the old setup (before the rename).

-- MartinKaufmann - 18 Sep 2007

Change status to:
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2007-09-18 - MartinKaufmann
 
  • 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.