From 5f8745425e41048dad45e97c474d9578a4928d33 Mon Sep 17 00:00:00 2001 From: MikeMannix Date: Thu, 30 Aug 2001 02:13:09 +0000 Subject: none --- TWiki/ManagingWebs.mdwn | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/TWiki/ManagingWebs.mdwn b/TWiki/ManagingWebs.mdwn index cd8b7e5f..fff57958 100644 --- a/TWiki/ManagingWebs.mdwn +++ b/TWiki/ManagingWebs.mdwn @@ -1,20 +1,23 @@ -## TWiki Administration +%TOC% %STARTINCLUDE% -The current implementation of %WIKITOOLNAME% is designed to never forget. So you can't delete a topic, however you can move or rename a topic and the original information is saved in topic meta data. If you want an even stronger memory, you can disable renaming on some or all topics; see [[TWikiAccessControl]]. +## Add, Name, or Delete Webs -### How to add a New Web +To work with entire TWiki webs, you need direct access to the installation files on the host server. Connecting by Telnet or FTP is the usual approach. Before making changes to a web, you can move individual topics through your browser (see [[TWiki/RenameTopic]]). No similar web controls are available through the browser interface. + +### How to Add a New Web * See [[TWikiDocumentation]] ### How to Rename or Delete a Web -* It is advisable not to rename the %WIKITOOLNAME%.%MAINWEB% web. -* 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. -* Edit the %WIKIPREFSTOPIC% topic and rename / delete the web from the `WIKIWEBLIST` variable. -* Edit the [[TWikiWebsTable]] topic and rename / delete the web from the table. -* Telnet to the %WIKITOOLNAME% installation. -* cd to **twiki/data** and rename / delete the web directory. -* cd to **twiki/templates** and rename / delete the web directory if present. -* cd to **twiki/pub** and rename / delete the web directory if present. +* **NOTE:** Think twice if you intend to rename the %WIKITOOLNAME%.%MAINWEB% web, since many files point to it. If you do rename it, you'll also have to change all occurrences of `Main` to the new web name - this includes, for example, the user signatures across your entire TWiki site. (On the other hand, if the variable **%MAINWEB%** is used throughout, you have no problem.) + +1. **Prepare your site:** Other webs may link to the web you want to rename or delete. Search each web for links to the target web: search all webs for `Abouttochange.` - include the period to find topics like `Abouttochange.SomeTopic`. Make changes as required. +2. **Edit the %WIKIPREFSTOPIC% topic:** Rename or delete the web from the `WIKIWEBLIST` variable. +3. **Edit the [[TWikiWebsTable]] topic:** Rename or delete the web from the table. +4. **Connect to the %WIKITOOLNAME% server:** Login via Telnet or FTP. +5. **Edit the data files:** Go to **twiki/data** and rename or delete the web directory. +6. **Edit the template files:** Go to **twiki/templates** and rename or delete the web directory if present. +7. **Edit the public files:** Go to **twiki/pub** and rename or delete the web directory if present. --- [[Main/PeterThoeny]] - 03 Mar 2001
-- [[JohnTalintyre]] - 07 Aug 2001
+-- [[MikeMannix]] - 29 Aug 2001
-- cgit v1.2.3