062bf69446f96a15300d7372796a2df3386c32fe
[openafs-wiki.git] / TWiki / ManagingWebs.mdwn
1 The current implementation of %WIKITOOLNAME% is designed to never forget, that means all topic changes are under revision control and you can't delete or rename topics.
2
3 Nevertheless there are cases where you wish to delete topics. %WIKITOOLNAME% requires administrative stuff like that to be done on the shell level, so please ask your %WIKITOOLNAME% administrator to do that for you. A future version will allow administrators to do that on the browser level.
4
5 **How to Rename or Delete a Topic**
6
7 - Go to the topic you want to rename / delete.
8 - Find out the back-links to this page from _Ref-By_ . Modify other topics if needed.
9 - Telnet to the %WIKITOOLNAME% installation.
10 - cd to `twiki/data` and then to the web where the topic is located. Rename / delete the topic ( `name.txt` ) and repository file ( `name.txt,v` ). **_Hint:_** Instead of deleting a topic you could create a `Trash` web and move topics/repositories to this web. (A future version of TWiki might have a Trash web.)
11 - Edit the `.changes` file and rename / delete all occurrences of the topic. **_Note:_** There might be several lines of the topic.
12 - cd to `twiki/pub` and then to the web where the topic is located. Rename / delete the topic attachment directory if present.
13
14 **How to add a New Web**
15
16 - See [[TWikiInstallationNotes]].
17
18 **How to Rename or Delete a Web**
19
20 - It is advisable not to rename the %WIKITOOLNAME%.Main web.
21 - Be aware that other webs might link to the web you want to rename / delete. Search each web for links to this web, i.e. search all webs for `Obsolete.` (include the period, this is to find topics like `Obsolete.SomeTopic` ). Take measures if necessary.
22 - Edit the [[TWikiPreferences]] topic and rename / delete the web from the `WIKIWEBLIST` variable.
23 - Edit the [[TWikiWebsTable]] topic and rename / delete the web from the table.
24 - Telnet to the %WIKITOOLNAME% installation.
25 - cd to `twiki/data` and rename / delete the web directory.
26 - cd to `twiki/templates` and rename / delete the web directory if present.
27 - cd to `twiki/pub` and rename / delete the web directory if present.
28
29 -- [[PeterThoeny]] - 12 Nov 2000 <br />