Tags:
create new tag
, view all tags

Question

Is there any way to rename an existing web? I did not find any obvious way to do this. A workaround I have for now is to rename the web on disk, then add a symlink from the old name to the new one to keep links from other webs live, then make the old web hidden. Not a great solution though. I see MegaTWiki has a feature to do this, maybe I should wait for this to become available?

  • TWiki version: any
  • Web server: any
  • Server OS: any
  • Web browser: any
  • Client OS: any

-- MartinWatt - 26 Sep 2002

Answer

In TWiki 4.1.2 (also maybe in 4.0 i dont know) under WebPreferences towards the end of the page under subheading tools you can see a link for Rename/move/delete web.

-- SibiJoseph - 19 Apr 2007

Old

There is not really a way to do this, or will be, from the feature sets in BeijingRelease and CairoRelease (other than as you propose, or going even further and do a search/replace in all topics for Webname. and drop the symlinks), I have been doing something like that for years with the Test web, now known as the Sandbox web (which thankfully is the name I have been using).

You can currently move topics from one web to another, and hopefully this would take care of most of the problems for you. So you can define a new web, move the topics over, then from the command line delete the old web.

However, I don't see this a a huge drawback, as webs are decided by the administrator, and the choices should be broad enough from the beginning.

I thought I had seen several topics that cover this, but the only ones I find now are: MegaTWiki, ScriptToCreateNewWeb

-- EdgarBrown - 15 Oct 2002

Topic revision: r4 - 2007-04-19 - SibiJoseph
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.