+ Rename/move/delete a topic

Select rename/move when viewing a topic to change its name, do DeleteTopic or MoveTopic.

  1. Select target Web if other than existing Web
  2. Fill in new name - defaults to current name
  3. You will be warned if there are locks or if there is a name clash
  4. A list of links to the topic will be listed, by default these links will be updated, click checkbox to prevent this
  5. Press the Rename/Move button, topic will be renamed and links to the topic updated as requested.
    • If any of the referring pages are locked then they will be listed
    • You can correct these later by again pressing Rename/Move

++ Referring topics

Referring topics are found using the the %SEARCH% variable, see the template searchrenameview.tmpl. First, matching topics in the current Web are listed - matches are to topic. Next, all Webs (including the current one) are listed that match web.topic. Because %SEARCH% is used, Webs marked in WebPreferences as NOSEARCHALL will not show up in the search for refernces to the topic being changed.

Changed references are kept are as short as possible, i.e. topic is used in preference to web.topic.

++ Deleting a topic

Topics can be deleted by moving them to the Trash Web (this should be added to the default distribution). Note that topics from all Webs go into this, so there could be name clashes, the user is warned of this and asked to choose a new name. When TWiki support sub-webs, these could be created on demand in the Trash Web, which would avoid this name clash problem.

It is up to the administrator of a TWiki installation to clean the Trash Web periodically e.g. by archiving to tape of CDROM entries older than 6 months.

++ Redirection from old topic

Something like the following can be put in WebTopicViewTemplate and WebTopicNonWikiTemplate to show if a topic has moved. It does this by searching for the tag %META:TOPICMOVED{...}%.

This topic used to exist and was moved to:

++ Permissions

Permissions affect rename in various ways. To rename a topic you need both change and rename permissions. To alter refering topics, you need change permission. See TWikiAccessControl for information on setting up permissions.

Edit | Attach | Watch | Print version | History: r24 | r4 < r3 < r2 < r1 | Backlinks | Raw View | More topic actions...
Topic revision: r1 - 2001-08-07 - JohnTalintyre
  • Edit
  • Attach
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 1999-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.ManagingTopics.