On this page:
Managing TopicsBrowser-based rename, move, and delete for individual topicsOverview | ||||||||
Changed: | ||||||||
< < | Using browser controls while viewing a topic, you change its name, move it to another TWiki web, or delete it: | |||||||
> > | Use browser controls while viewing a topic, to change its name, move it to another TWiki web, or delete it to a hidden Trash web. | |||||||
Changed: | ||||||||
< < |
| |||||||
> > | How to Rename/Move/Delete a Topic | |||||||
Added: | ||||||||
> > |
| |||||||
| ||||||||
Changed: | ||||||||
< < | NOTE: You will be warned if there are locks or if there is a name conflict
| |||||||
> > | NOTE: You will be warned if there are locks or if there is a name conflict.
| |||||||
Referring TopicsReferring topics are found using the the %SEARCH% variable, see the templatesearchrenameview.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: | ||||||||
< < | Changed references are kept are as short as possible, i.e. topic is used in preference to web.topic. | |||||||
> > | Changed references are kept are as short as possible, ex: topic is used in preference to web.topic. | |||||||
Changed: | ||||||||
< < | Deleting a Topic | |||||||
> > | About Deleting a Topic | |||||||
Deleted topics are moved to the Trash web - NOT physically erased from the server. All webs share Trash - in case of a name conflict with a topic already Trash , the user is alerted and asked to choose a new name. | ||||||||
Changed: | ||||||||
< < | Clearing the Trash | |||||||
> > | Clearing the Trash | |||||||
Changed: | ||||||||
< < | NOTE: The Trash web should be be cleared periodically, by archiving the contents if required (recommended), then deleting the files from the Trash directory. | |||||||
> > | The Trash web should be be cleared periodically, by archiving the contents if required (recommended), then deleting the files from the Trash directory. | |||||||
Redirecting from an Old TopicYou can use TWikiMetaData to place a command in WebTopicViewTemplate and WebTopicNonWikiTemplate that will show if a topic has moved by searching for the tag %META:TOPICMOVED{...}%. Customize something like this:%<nop>METASEARCH{type="topicmoved" web="%WEB%" topic="%TOPIC%" title="This topic used to exist and was moved to: "}% | ||||||||
Changed: | ||||||||
< < | Impact of Topic Access Settings | |||||||
> > | Effect of Access Settings | |||||||
Permissions affect the rename function in various ways. To rename a topic, you need both change and rename permissions. To alter refer4ing topics, you need change permission. See TWikiAccessControl for information on setting up access permissions.
How Rename/move Works | ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
Known LimitationsRename/move in is fairly complicated due to the dynamic generation of links. Ideally, it would be possible to run the required part of rendering in a way that would allow identification of the text to be changed. Unfortunately, these hooks don't exist in TWiki at present. Instead, %SEARCH% is used with a special template to show the text to be changed, and the selected topics are then altered. One drawback is thatsearch can show matches that will not be updated because of case differences. Other mismatches to actual rendered output are also possible as the approaches are so different.
The following shows some limitations of square bracket processing.
[[Old Topic]] => [[NewTopic][Old Topic]] [[old topic]] => [[NewTopic][old topic]] [[old t opic]] => not changed [[OldTopic]] => [[NewTopic]] | ||||||||
Changed: | ||||||||
< < | -- MikeMannix - 15 Sep 2001 | |||||||
> > | -- MikeMannix - 15 Sep 2001 | |||||||
|