Nice TWiki > TWiki > ManagingTopics (r1.1 vs. r1.17) TWiki webs:
Dev | Doc | Main | TWiki | Sandbox
TWiki . { Welcome | Register | Changes | Topics | Index | Search | Go }
 <<O>>  Difference Topic ManagingTopics (r1.17 - 12 Jan 2003 - PeterThoeny?)
Changed:
<
<

While view a special topic, you can use browser-based controls to change its name, move it to another TWiki web, or delete it to a hidden Trash web.

>
>

You can use browser-based controls to change a topic's name, move it to another TWiki web, or delete it to a hidden Trash web.

Changed:
<
<

  • Due to current limitations, fairly heavy use of rename/move/delete functions can lead to an accumulation of minor technical problems (ex: broken links) and usability issues (ex: user confusion). If Rename is used heavily, these types of negatives will obviously increase.
>
>

  • Due to current limitations, fairly heavy use of Rename/Move/Delete functions can lead to an accumulation of minor technical problems (ex: broken links) and usability issues (ex: user confusion). If Rename... is used heavily, these negatives will obviously increase, in number and effect.

 <<O>>  Difference Topic ManagingTopics (r1.16 - 28 Dec 2001 - MikeMannix?)
Deleted:
<
<

Overview

Changed:
<
<

How to Rename/Move/Delete a Topic

>
>

Overview

Added:
>
>

How to Rename/Move/Delete a Topic

Changed:
<
<

    • TIP Since simple FTP access to the Trash directory is all that's required to maintain Trash, it's possible grant users Trash admin privileges while limiting server access.
>
>

    • TIP Since simple FTP access to the Trash directory is all that's required for maintenance, it's possible to grant Trash admin privileges to multiple users, while strictly limiting server access.
Changed:
<
<

Ultimately, the size, objectives, and policies of your TWiki site, and the real-world behavior of your user group, will determine the most effective implementation of this feature.

>
>

Ultimately, the size, objectives, and policies of your TWiki site, the real-world behavior of your user group, and most importantly, the initial TWiki site management leadership, will determine the most effective implementation of this feature, and the success of the site overall.

Changed:
<
<

Rename/Move 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 that search 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.

>
>

Rename/Move 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 that search can show matches that will not be updated due to case differences. Other mismatches with actual rendered output are also possible as the approaches are so different.


 <<O>>  Difference Topic ManagingTopics (r1.15 - 27 Dec 2001 - MikeMannix?)
Deleted:
<
<

Browser-based rename, move, and delete for individual topics

Changed:
<
<

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.

>
>

Browser-based rename, move, and delete for individual topics

Changed:
<
<

  1. Click on [More] (bottom right of page) on the topic to be changed, then, in the new screen, on [Rename/move].
  2. Select target web if other than the current web - chose Trash to delete a topic
  3. Enter the new topic name - default is current name
    NOTE: You will be warned if there are locks or if there is a name conflict.
  4. Select from the list of referring links any topics NOT to be updated with the new name (by default, all referring links will be updated).
  5. Click on [Rename/Move]: the 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

>
>

While view a special topic, you can use browser-based controls to change its name, move it to another TWiki web, or delete it to a hidden Trash web.

Changed:
<
<

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, ex: topic is used in preference to web.topic.

>
>

  1. Click on [More] (bottom right of page) on the topic to be changed, then, in the new screen, on [Rename/move]. You can now rename and/or move/delete in one operation:
  2. Move/Delete: Select the target web if other than the current web - choose Trash to delete a topic.
  3. Rename: Enter the new topic name - default is current name
    ALERT! NOTE: You'll be warned if any of the topics to be affected are locked (being edited), or if there is a name conflict.
  4. Prevent updates by unchecking individual items on the list of referring links - these topics will NOT to be updated with the new name (by default, all referring links will be updated).
  5. Click on [Rename/Move]: the 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].
    • HELP There is a Put back feature that allows you to undo a Rename/Move/Delete - an instruction line and undo link will appear at the bottom of the modified topic. This allows you to revert from the last modification only.
Changed:
<
<

About Deleting a Topic

>
>

Deleted Topics: How to Clear the Trash

Changed:
<
<

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.

>
>

Deleted topics are moved to a special Trash web - they are 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

>
>

The Trash web should be be cleared periodically, by archiving (saving) the text and RCS files if required (recommended), then deleting them from the Trash directory.

Changed:
<
<

The Trash web should be be cleared periodically, by archiving the contents if required (recommended), then deleting the files from the Trash directory.

>
>

  • ALERT! This can only be done from on the server, not through the browser.
    • TIP Since simple FTP access to the Trash directory is all that's required to maintain Trash, it's possible grant users Trash admin privileges while limiting server access.
Changed:
<
<

You 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:

>
>

You can use TWikiMetaData to place a command in the WebTopicViewTemplate and WebTopicNonWikiTemplate that will indicate that a topic has been moved by searching for the tag %META:TOPICMOVED{...}%. Customize something like this:

Changed:
<
<

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 referring topics, you need change permission. See TWikiAccessControl for information on setting up access permissions.

How Rename/move Works

>
>

How Rename/Move Works

Changed:
<
<

    • User can omit one or more topics from the update list.
>
>

    • User can omit one or more topics from the update list by unchecking them.
Changed:
<
<

  1. Any referring topics that can't be changed due to locks are listed - user can change them at another time.
>
>

  1. Any referring topics that can't be changed due to locks are listed - user can take note and change them at another time.

How Referring Topics Are Found

Referring topics are found using 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 references to the topic being changed.

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

Effect of User Access Settings

User permissions affect the Rename function in various ways. To rename a topic, you need both ALLOWTOPICCHANGE and ALLOWTOPICRENAME permission for that topic. To alter referring topics, you need change permission. See TWikiAccessControl for information on setting up access permissions.

Special Considerations

Consider carefully whether to make browser-based Rename/Move/Delete widely available, or to restrict it to an administrator/moderator group. Allowing all users to easily manipulate topics can be extremely useful in refactoring a busy web or site. However, there are at least two significant potential drawbacks to take into account:

  • When referring links are updated, the modified topics appear in WebChanges, creating the impression that editorial changes were made. This can undermine the usefulness of WebChanges.
  • Due to current limitations, fairly heavy use of rename/move/delete functions can lead to an accumulation of minor technical problems (ex: broken links) and usability issues (ex: user confusion). If Rename is used heavily, these types of negatives will obviously increase.

Ultimately, the size, objectives, and policies of your TWiki site, and the real-world behavior of your user group, will determine the most effective implementation of this feature.

Changed:
<
<

Known Limitations

>
>

Known Issues

Changed:
<
<

Rename/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 that search 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.

>
>

Rename/Move 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 that search 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.

Changed:
<
<

-- MikeMannix - 15 Sep 2001

>
>

-- MikeMannix? - 27 Dec 2001


 <<O>>  Difference Topic ManagingTopics (r1.14 - 17 Dec 2001 - PeterThoeny?)
Changed:
<
<

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.

>
>

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


 <<O>>  Difference Topic ManagingTopics (r1.13 - 18 Sep 2001 - MikeMannix?)
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:
<
<

  1. Select target web if other than the current web - chose Trash to delete a topic
>
>

How to Rename/Move/Delete a Topic

  1. Click on [More] (bottom right of page) on the topic to be changed, then, in the new screen, on [Rename/move].
  2. Select target web if other than the current web - chose Trash to delete a topic
Changed:
<
<

NOTE: You will be warned if there are locks or if there is a name conflict

  1. Select from the list of links to the topic that will be changed those to OMIT from changes (by default, all referring links will be updated)
  2. Click on Rename/Move to rename/remove 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
>
>

NOTE: You will be warned if there are locks or if there is a name conflict.

  1. Select from the list of referring links any topics NOT to be updated with the new name (by default, all referring links will be updated).
  2. Click on [Rename/Move]: the 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].
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

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.

Changed:
<
<

Impact of Topic Access Settings

>
>

Effect of Access Settings

Changed:
<
<

  • %SEARCH% is used with a special template to show text in topics that requires updating to point to the new topic and/or web name. This includes relevent TWikiMetaData definition.
    • User chooses which topics will be altered
  • <pre> and <verbatim> are honoured - no changes are made to text within these areas
  • Topic is moved (if locks allow)
  • References are changed (locks and permissions permitting)
  • Any referring topics that can't be changed due to locks are listed - user can change them at another time.
>
>

  1. %SEARCH%, with a special template, finds and displays all occurrences of the topic name in other topics, site-wide. These referring links are by default automatically changed to the new topic and/or web name. This includes relevant TWikiMetaData definitions.
    • User can omit one or more topics from the update list.
    • <pre> and <verbatim> are honoured - no changes are made to text within these areas.
  2. The topic is moved (if locks allow).
  3. References are changed (locks and permissions permitting).
  4. Any referring topics that can't be changed due to locks are listed - user can change them at another time.

 <<O>>  Difference Topic ManagingTopics (r1.12 - 15 Sep 2001 - MikeMannix?)
Deleted:
<
<

Changed:
<
<

Select Rename/move when viewing a topic to change its name, move it to another TWiki web, or delete it:

>
>

Using browser controls while viewing a topic, you change its name, move it to another TWiki web, or delete it:

Changed:
<
<

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 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.

Added:
>
>

-- MikeMannix - 15 Sep 2001


 <<O>>  Difference Topic ManagingTopics (r1.11 - 14 Sep 2001 - PeterThoeny?)
Changed:
<
<

  1. Enter the new topic name - default is current name
>
>

  1. Enter the new topic name - default is current name
Changed:
<
<

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 TWikiDocumentation#TWiki_Access_Control for information on setting up access permissions.

>
>

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.

Changed:
<
<

  • %SEARCH% is used with a special template to show text in topics that requires updating to point to the new topic and/or web name. This includes relevent MetaData
>
>

  • %SEARCH% is used with a special template to show text in topics that requires updating to point to the new topic and/or web name. This includes relevent TWikiMetaData definition.
Changed:
<
<

  • <PRE> and <VERBATIM> are honoured - no changes are made to text within these areas
>
>

  • <pre> and <verbatim> are honoured - no changes are made to text within these areas

 <<O>>  Difference Topic ManagingTopics (r1.10 - 12 Sep 2001 - MikeMannix?)
Changed:
<
<

%METASEARCH{type="topicmoved" web="TWiki" topic="ManagingTopics" title="This topic used to exist and was moved to: "}%

>
>

%METASEARCH{type="topicmoved" web="TWiki" topic="ManagingTopics" title="This topic used to exist and was moved to: "}%


 <<O>>  Difference Topic ManagingTopics (r1.9 - 12 Sep 2001 - MikeMannix?)
Added:
>
>


 <<O>>  Difference Topic ManagingTopics (r1.8 - 07 Sep 2001 - MikeMannix?)
Changed:
<
<

Managing Topics

>
>

Managing Topics

Changed:
<
<

Overview

>
>

Overview

Changed:
<
<

Referring Topics

>
>

Referring Topics

Changed:
<
<

Deleting a Topic

>
>

Deleting a Topic

Changed:
<
<

Clearing the Trash
>
>

Clearing the Trash

Changed:
<
<

Redirecting from an Old Topic

>
>

Redirecting from an Old Topic

Changed:
<
<

Impact of Topic Access Settings

>
>

Impact of Topic Access Settings

Changed:
<
<

How Rename/move Works

>
>

How Rename/move Works

Changed:
<
<

Known Limitations

>
>

Known Limitations


 <<O>>  Difference Topic ManagingTopics (r1.7 - 06 Sep 2001 - MikeMannix?)
Changed:
<
<

Select [Rename/move] when viewing a topic to change its name, delete it or move it

>
>

Browser-based rename, move, and delete for individual topics

Changed:
<
<

  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.
>
>

Overview

Select Rename/move when viewing a topic to change its name, move it to another TWiki web, or delete it:

  1. Select target web if other than the current web - chose Trash to delete a topic
  2. Enter the new topic name - default is current name
    NOTE: You will be warned if there are locks or if there is a name conflict
  3. Select from the list of links to the topic that will be changed those to OMIT from changes (by default, all referring links will be updated)
  4. Click on Rename/Move to rename/remove topic will be renamed and links to the topic updated as requested.
Changed:
<
<

Referring Topics

>
>

Referring Topics

Changed:
<
<

Deleting a Topic

>
>

Deleting a Topic

Changed:
<
<

Topics can be deleted by moving them to the Trash Web. 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.

>
>

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:
<
<

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.

>
>

Clearing the Trash

NOTE: The Trash web should be be cleared periodically, by archiving the contents if required (recommended), then deleting the files from the Trash directory.

Changed:
<
<

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{...}%.

>
>

You 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:

Changed:
<
<



>
>


Changed:
<
<

>
>

Changed:
<
<

Permissions

>
>

Impact of Topic Access Settings

Changed:
<
<

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#TWiki_Access_Control for information on setting up permissions.

>
>

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 TWikiDocumentation#TWiki_Access_Control for information on setting up access permissions.

Changed:
<
<

Procedure

>
>

How Rename/move Works

Changed:
<
<

  • %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 meta data
>
>

  • %SEARCH% is used with a special template to show text in topics that requires updating to point to the new topic and/or web name. This includes relevent MetaData
Changed:
<
<

  • <PRE> and <verbatim> are honoured - no changes to text within these areas
>
>

  • <PRE> and <VERBATIM> are honoured - no changes are made to text within these areas
Changed:
<
<

  • 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.
>
>

  • References are changed (locks and permissions permitting)
  • Any referring topics that can't be changed due to locks are listed - user can change them at another time.
Changed:
<
<

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.

>
>

Rename/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 that search 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.


 <<O>>  Difference Topic ManagingTopics (r1.6 - 01 Sep 2001 - MikeMannix?)
Changed:
<
<

Modifying Topics

>
>

Managing Topics

Changed:
<
<

Select rename/move when viewing a topic to change its name, delete it or move it

>
>

Select [Rename/move] when viewing a topic to change its name, delete it or move it

Changed:
<
<

Referring topics

>
>

Referring Topics

Changed:
<
<

Deleting a topic

>
>

Deleting a Topic

Changed:
<
<

Redirection from old topic

>
>

Redirecting from an Old Topic

Changed:
<
<

Approach

>
>

Procedure

Changed:
<
<

Limitations

>
>

Known Limitations

Added:
>
>

Added:
>
>

Changed:
<
<

>
>

%META:TOPICMOVED{by="MikeMannix" date="999329908" from="TWiki.RenameTopic" to="TWiki.ManagingTopics"}%


 <<O>>  Difference Topic ManagingTopics (r1.5 - 31 Aug 2001 - MikeMannix?)
Changed:
<
<

Rename/move/delete a topic

>
>

Modifying Topics


 <<O>>  Difference Topic ManagingTopics (r1.4 - 30 Aug 2001 - MikeMannix?)
Added:
>
>

TOC: No TOC in "TWiki.ManagingTopics"

Changed:
<
<

Select rename/move when viewing a topic to change its name, Delete it? or Move it

>
>

Select rename/move when viewing a topic to change its name, delete it or move it


 <<O>>  Difference Topic ManagingTopics (r1.3 - 29 Aug 2001 - JohnTalintyre?)
Changed:
<
<

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, Delete it? or Move it

Changed:
<
<

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 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:
<
<

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 Trash Web. 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.

Changed:
<
<

>
>

%METASEARCH{type="topicmoved" web="TWiki" topic="ManagingTopics" title="This topic used to exist and was moved to: "}%

Changed:
<
<

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#TWiki_Access_Control for information on setting up permissions.

Changed:
<
<

  • %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 meta data
    • 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.
Changed:
<
<

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.


 <<O>>  Difference Topic ManagingTopics (r1.2 - 08 Aug 2001 - JohnTalintyre?)
Changed:
<
<

Rename/move/delete a topic

>
>

Rename/move/delete a topic

Changed:
<
<

Referring topics

>
>

Referring topics

Changed:
<
<

Deleting a topic

>
>

Deleting a topic

Changed:
<
<

Redirection from old topic

>
>

Redirection from old topic

Changed:
<
<

Permissions

>
>

Permissions

Added:
>
>

Approach

  • %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

Limitations

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.

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]]

 <<O>>  Difference Topic ManagingTopics (r1.1 - 07 Aug 2001 - JohnTalintyre?)
Added:
>
>

%META:TOPICINFO{author="JohnTalintyre" date="997200531" format="1.0beta2" version="1.1"}% %META:TOPICPARENT{name="WebHome"}%

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{...}%.

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.


Topic ManagingTopics . { View | Diffs | r1.17 | > | r1.16 | > | r1.15 | More }
Revision r1.1 - 07 Aug 2001 - 15:33 GMT - JohnTalintyre?
Revision r1.17 - 12 Jan 2003 - 09:14 GMT - PeterThoeny?
Copyright © 1999-2003 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback.