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