Tags:
create new tag
, view all tags

Question

Hi, I asked a question about deleting webs on the WikiMatrix forum. Sorry for asking in the wrong place.

Peter answered but I just wanted to ask the question again to clarify one point:

I'm trying to delete some Webs I created (they have nothing in them yet) but am having trouble (the delete/rename tool does nothing):

Peter said: To permanently delete a web, remove the twiki/data/<name of web> and twiki/pub/<name of web> directories.

I just wanted to check: does this do exactly the same as what the delete/rename tool should do? Will all links/references be removed? The webs haven't actually been used for anything yet so I presume there isn't much refernce to them on my wiki to delete.

Is the delete/rename webs tool not working a bug? I'm sorry I don't have my full system details to hand (I am out of the office) but if it sounds like a bug that you would like the details for I will try to get them.

-- StevenRenwick - 20 Dec 2006

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.

When you delete /data/Test, then the Test web is deleted and there is nothing else to do, unless some files from another web is including a file from the Test web or the Test web has some attached files.

Yes, to delete a web, you just delete the folder. Also, look in the pub and delete the Test folder if it is there... pub/Test

in short, everything in the Test folder, including the Test folder needs to be removed from both the data dir and pub dir.

I have no luck in loading some of the tools. It is just as easy to delete a folder from ftp or from local.

-- SteveStark - 20 Dec 2006

We are in the process of cleaning up our TWiki, and we have a bunch of webs that were created on request but have since been deprecated. We would like to disable these webs, instead of delete them permanently: i.e. any access to a topic in a disabled web would redirect the user to a topic that has a helpful message about where to look instead.

RedirectPlugin does this for a topic. Is there any way to do this for any topic in a web?

-- PankajPant - 28 Mar 2007

You can do that at the template level. Basically replace %TEXT% with a helpful message. Templates can be overloaded per web, see TWikiTemplates#Finding_Templates.

-- PeterThoeny - 28 Mar 2007

Beautiful. Works like a charm.

-- PankajPant - 29 Mar 2007

 
Change status to:
Topic revision: r6 - 2007-03-29 - PankajPant
 
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.