diff options
author | John Talintyre <john.talintyre@drkw.com> | 2001-08-29 17:10:02 +0000 |
---|---|---|
committer | John Talintyre <john.talintyre@drkw.com> | 2001-08-29 17:10:02 +0000 |
commit | ca727c316b7571212c7e568276bdf46bccb9d90c (patch) | |
tree | f9a2c020ea749e17f50c314fe7d0245b0eb6232c /TWiki/ManagingTopics.mdwn | |
parent | bebccb868f08763410f63413c2763e16b06160dc (diff) |
none
Diffstat (limited to 'TWiki/ManagingTopics.mdwn')
-rw-r--r-- | TWiki/ManagingTopics.mdwn | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/TWiki/ManagingTopics.mdwn b/TWiki/ManagingTopics.mdwn index d1f79bf9..beca8bc8 100644 --- a/TWiki/ManagingTopics.mdwn +++ b/TWiki/ManagingTopics.mdwn @@ -1,6 +1,6 @@ ## <a name="Rename_move_delete_a_topic"> Rename/move/delete a topic </a> -Select rename/move when viewing a topic to change its name, do [[DeleteTopic]] or [[MoveTopic]]. +Select rename/move when viewing a topic to change its name, [[DeleteTopic]] or [[MoveTopic]] 1. Select target Web if other than existing Web 2. Fill in new name - defaults to current name @@ -12,13 +12,13 @@ Select rename/move when viewing a topic to change its name, do [[DeleteTopic]] o ### <a name="Referring_topics"> Referring topics </a> -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. +Referring topics are found using the the %SEARCH% variable, see the template <code>**searchrenameview.tmpl**</code>. 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_. ### <a name="Deleting_a_topic"> Deleting a topic </a> -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. +Topics can be _deleted_ by moving them to the <code>**Trash Web**</code>. 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. @@ -26,22 +26,26 @@ It is up to the administrator of a TWiki installation to clean the Trash Web per Something like the following can be put in %TWIKIWEB%.WebTopicViewTemplate and %TWIKIWEB%.WebTopicNonWikiTemplate to show if a topic has moved. It does this by searching for the tag %META:TOPICMOVED\{...\}%. -## %METASEARCH\{type="topicmoved" web="%WEB%" topic="%TOPIC%" title="This topic used to exist and was moved to: "\}% +<pre> +%<nop>METASEARCH{type="topicmoved" web="%WEB%" topic="%TOPIC%" title="This topic used to exist and was moved to: "}% +</nop></pre> ### <a name="Permissions"> Permissions </a> -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. +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 [[TWikiDocumentation]] for information on setting up permissions. ### <a name="Approach"> Approach </a> -* %SEARCH% is used with a special template to show the text would be changed - * User chooses which topics -* <PRE> and <verbatim> are honoured -* FIXME - more needed +* %SEARCH% is used with a special template to show text in topics that requires alteration to point to the new topic name. This includes relavent [[TWikiDocumentation]] + * User chooses which topics will be altered +* <PRE> and <verbatim> are honoured - no changes to text within these areas +* Topic is moved (if locks allow) +* References are changed (locks and permissions allowing) +* Any refering topics that can't be changed due to locks are listed - user can try getting these references changed at any time. ### <a name="Limitations"> Limitations </a> -Rename in a Wiki 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 and then altered. Search can show matches that will not be updated e.g. because of case differences. Other mis-matches to actual rendered output are also possible as the approaches are so different. +Rename in TWiki 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 and then altered. Search can show matches that will not be updated e.g. because of case differences. Other mis-matches to actual rendered output are also possible as the approaches are so different. The following shows some limitations of square bracket processing. |