head 1.21; access; symbols; locks; strict; comment @# @; 1.21 date 2007.01.16.04.11.59; author TWikiContributor; state Exp; branches; next 1.20; 1.20 date 2006.04.01.05.55.08; author TWikiContributor; state Exp; branches; next 1.19; 1.19 date 2006.02.01.12.01.17; author TWikiContributor; state Exp; branches; next 1.18; 1.18 date 2004.08.15.07.55.02; author PeterThoeny; state Exp; branches; next 1.17; 1.17 date 2003.01.12.09.14.14; author PeterThoeny; state Exp; branches; next 1.16; 1.16 date 2001.12.28.00.48.00; author MikeMannix; state Exp; branches; next 1.15; 1.15 date 2001.12.27.12.49.00; author MikeMannix; state Exp; branches; next 1.14; 1.14 date 2001.12.17.08.44.11; author PeterThoeny; state Exp; branches; next 1.13; 1.13 date 2001.09.18.04.55.05; author MikeMannix; state Exp; branches; next 1.12; 1.12 date 2001.09.15.10.15.11; author MikeMannix; state Exp; branches; next 1.11; 1.11 date 2001.09.14.10.06.53; author PeterThoeny; state Exp; branches; next 1.10; 1.10 date 2001.09.12.21.08.14; author MikeMannix; state Exp; branches; next 1.9; 1.9 date 2001.09.12.07.04.41; author MikeMannix; state Exp; branches; next 1.8; 1.8 date 2001.09.07.10.14.21; author MikeMannix; state Exp; branches; next 1.7; 1.7 date 2001.09.06.22.18.19; author MikeMannix; state Exp; branches; next 1.6; 1.6 date 2001.09.01.07.37.12; author MikeMannix; state Exp; branches; next 1.5; 1.5 date 2001.08.31.22.36.39; author MikeMannix; state Exp; branches; next 1.4; 1.4 date 2001.08.30.13.28.52; author MikeMannix; state Exp; branches; next 1.3; 1.3 date 2001.08.29.17.10.02; author JohnTalintyre; state Exp; branches; next 1.2; 1.2 date 2001.08.08.16.56.57; author JohnTalintyre; state Exp; branches; next 1.1; 1.1 date 2001.08.07.15.33.55; author JohnTalintyre; state Exp; branches; next ; desc @none @ 1.21 log @buildrelease @ text @%META:TOPICINFO{author="TWikiContributor" date="1111929255" format="1.0" version="21"}% %META:TOPICPARENT{name="WebHome"}% %TOC% %STARTINCLUDE% ---# Managing Topics _Browser-based rename, move, and delete for individual topics_ ---++ Overview 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. ---++ 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]==. You can now rename and/or move/delete in one operation: 1. *Move/Delete:* Select the target web if other than the current web - choose =Trash= to [[#DeleteTopic][delete a topic]]. 1. *Rename:* Enter the new topic name - default is current name
%X% *NOTE:* You'll be warned if any of the topics to be affected are locked (being edited), or if there is a name conflict. 1. *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). 1. *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]==. * %H% 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_. #DeleteTopic ---++ Deleted Topics: How to Clear the Trash 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. 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. * %X% This can only be done from on the server, not through the browser. * %T% 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. ---++ Redirecting from an Old Topic You can use TWikiMetaData to place a command in the %TWIKIWEB%.WebTopicViewTemplate and %TWIKIWEB%.WebTopicNonWikiTemplate that will indicate that a topic has been moved by searching for the tag %META:TOPICMOVED{...}%. Customize something like this:
%METASEARCH{type="topicmoved" web="%WEB%" topic="%TOPIC%" title="This topic used to exist and was moved to: "}%
---++ How Rename/Move Works 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 by unchecking them. * =<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 take note and change them at another time. ---+++ How Referring Topics Are Found 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==. _All_ webs will be searched during rename, even if =NOSEARCHALL= is defined on a web, though access permissions will of course be honoured. 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 ==ALLOWTOPICVIEW== and ==ALLOWTOPICCHANGE== 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 [[#RenameLimitations][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. 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. #RenameLimitations ---++ Known Issues *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. 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]]
__Related Topics:__ UserDocumentationCategory, AdminDocumentationCategory @ 1.20 log @buildrelease @ text @d1 1 a1 1 %META:TOPICINFO{author="TWikiContributor" date="1111929255" format="1.0" version="20"}% d38 1 a38 1
d62 1 a62 1 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. d79 1 a79 1
@ 1.19 log @buildrelease @ text @d1 1 a1 1 %META:TOPICINFO{author="TWikiContributor" date="1111929255" format="1.0" version="19"}% d15 8 a22 8 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: 1. *Move/Delete:* Select the target web if other than the current web - choose =Trash= to [[#DeleteTopic][delete a topic]]. 1. *Rename:* Enter the new topic name - default is current name
%X% *NOTE:* You'll be warned if any of the topics to be affected are locked (being edited), or if there is a name conflict. 1. *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). 1. *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]==. * %H% 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_. d31 2 a32 2 * %X% This can only be done from on the server, not through the browser. * %T% 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. d47 6 a52 6 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 by unchecking them. * =<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 take note and change them at another time. d67 2 a68 2 * 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 [[#RenameLimitations][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. d84 1 a84 1 [[OldTopic]] => [[NewTopic]] @ 1.18 log @none @ text @d1 1 a1 1 %META:TOPICINFO{author="PeterThoeny" date="1092556502" format="1.0" version="1.18"}% d56 1 a56 1 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. d88 1 a88 3 -- TWiki:Main.MikeMannix - 27 Dec 2001 %META:TOPICMOVED{by="MikeMannix" date="999329908" from="TWiki.RenameTopic" to="TWiki.ManagingTopics"}% @ 1.17 log @none @ text @d1 1 a1 1 %META:TOPICINFO{author="PeterThoeny" date="1042362854" format="1.0" version="1.17"}% d3 87 a89 86 %TOC% %STARTINCLUDE% ---# Managing Topics _Browser-based rename, move, and delete for individual topics_ ---++ Overview 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. ---++ 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]==. You can now rename and/or move/delete in one operation: 1. *Move/Delete:* Select the target web if other than the current web - choose =Trash= to [[#DeleteTopic][delete a topic]]. 1. *Rename:* Enter the new topic name - default is current name
%X% *NOTE:* You'll be warned if any of the topics to be affected are locked (being edited), or if there is a name conflict. 1. *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). 1. *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]==. * %H% 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_. #DeleteTopic ---++ Deleted Topics: How to Clear the Trash 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. 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. * %X% This can only be done from on the server, not through the browser. * %T% 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. ---++ Redirecting from an Old Topic You can use TWikiMetaData to place a command in the %TWIKIWEB%.WebTopicViewTemplate and %TWIKIWEB%.WebTopicNonWikiTemplate that will indicate that a topic has been moved by searching for the tag %META:TOPICMOVED{...}%. Customize something like this:
%METASEARCH{type="topicmoved" web="%WEB%" topic="%TOPIC%" title="This topic used to exist and was moved to: "}%
---++ How Rename/Move Works 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 by unchecking them. * =<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 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 [[#RenameLimitations][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. 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. #RenameLimitations ---++ Known Issues *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. 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]]
-- Main.MikeMannix - 27 Dec 2001 @ 1.16 log @none @ text @d1 1 a1 1 %META:TOPICINFO{author="MikeMannix" date="1009500480" format="1.0" version="1.16"}% d11 1 a11 1 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. d68 1 a68 1 * Due to [[#RenameLimitations][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. d70 1 a70 1 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. @ 1.15 log @none @ text @d1 1 a1 1 %META:TOPICINFO{author="MikeMannix" date="1009457340" format="1.0" version="1.15"}% d7 2 d11 1 a11 1 _Browser-based rename, move, and delete for individual topics_ a14 2 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. d32 1 a32 1 * %T% 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. d70 1 a70 1 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. d75 1 a75 1 *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. d88 1 a88 1 -- Main.MikeMannix - 27 Dec 2001 @ 1.14 log @none @ text @d1 1 a1 1 %META:TOPICINFO{author="PeterThoeny" date="1008578651" format="1.0" version="1.14"}% a6 2 _Browser-based rename, move, and delete for individual topics_ d9 1 a9 1 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. d13 7 a19 5 1. *Click* on ==[More]== (bottom right of page) on the topic to be changed, then, in the new screen, on ==[Rename/move]==. 1. *Select* target web if other than the current web - chose =Trash= to [[#DeleteTopic][delete a topic]] 1. *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. 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). d21 2 a22 8 * 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, ex: _topic_ is used in preference to _web.topic_. d25 1 a25 1 ---+++ About Deleting a Topic d27 1 a27 1 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. d29 1 a29 1 ---++ Clearing the Trash d31 2 a32 1 The =Trash= web should be be cleared periodically, by archiving the contents if required (recommended), then deleting the files from the =Trash= directory. d36 1 a36 1 You can use TWikiMetaData to place a command in %TWIKIWEB%.WebTopicViewTemplate and %TWIKIWEB%.WebTopicNonWikiTemplate that will show if a topic has moved by searching for the tag %META:TOPICMOVED{...}%. Customize something like this: d45 1 a45 5 ---++ 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 d48 1 a48 1 * User can omit one or more topics from the update list. d52 19 a70 1 4. Any referring topics that can't be changed due to locks are listed - user can change them at another time. d72 2 a73 1 ---++ Known Limitations d75 1 a75 1 *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. d88 1 a88 1 -- MikeMannix - 15 Sep 2001
@ 1.13 log @none @ text @d1 1 a1 1 %META:TOPICINFO{author="MikeMannix" date="1000788905" format="1.0" version="1.13"}% d52 1 a52 1 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. @ 1.12 log @none @ text @d1 1 a1 1 %META:TOPICINFO{author="MikeMannix" date="1000548911" format="1.0" version="1.12"}% d11 1 a11 1 Using browser controls while viewing a topic, you change its name, move it to another TWiki web, or delete it: d13 4 a16 1 1. *Select* target web if other than the current web - chose ==Trash== to [[#DeleteTopic][delete a topic]] d18 5 a22 5 __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) 1. *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 d28 1 a28 1 Changed references are kept are as short as possible, i.e. _topic_ is used in preference to _web.topic_. d31 1 a31 1 ---+++ Deleting a Topic d35 1 a35 1 ---++++ Clearing the Trash d37 1 a37 1 __NOTE:__ The =Trash= web should be be cleared periodically, by archiving the contents if required (recommended), then deleting the files from the =Trash= directory. d50 1 a50 1 ---++ Impact of Topic Access Settings d56 6 a61 6 * %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. d78 1 a78 1 -- MikeMannix - 15 Sep 2001
@ 1.11 log @none @ text @d1 1 a1 1 %META:TOPICINFO{author="PeterThoeny" date="1000462013" format="1.0" version="1.11"}% a2 2 %INCLUDE{"UtilTempDocNote"}% d11 1 a11 1 Select *Rename/move* when viewing a topic to change its name, move it to another TWiki web, or delete it: d23 1 a23 1 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. d75 1 @ 1.10 log @none @ text @d1 1 a1 1 %META:TOPICINFO{author="MikeMannix" date="1000328894" format="1.0" version="1.10"}% d16 1 a16 1 1. *Enter* the new topic name - default is current name
d51 1 a51 1 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. d55 1 a55 1 * %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 [[TWikiDocumentation#Meta_Data_Definition][MetaData]] d57 1 a57 1 * <PRE> and <VERBATIM> are honoured - no changes are made to text within these areas @ 1.9 log @none @ text @d1 1 a1 1 %META:TOPICINFO{author="MikeMannix" date="1000278281" format="1.0" version="1.9"}% d44 2 a45 1 %METASEARCH{type="topicmoved" web="%WEB%" topic="%TOPIC%" title="This topic used to exist and was moved to: "}% @ 1.8 log @none @ text @d1 1 a1 1 %META:TOPICINFO{author="MikeMannix" date="999857661" format="1.0" version="1.8"}% d3 2 @ 1.7 log @none @ text @d1 1 a1 1 %META:TOPICINFO{author="MikeMannix" date="999814735" format="1.0" version="1.7"}% d5 1 a5 1 ---## Managing Topics d9 1 a9 1 ---+++ Overview d21 1 a21 1 ---++++ Referring Topics d28 1 a28 1 ---++++ Deleting a Topic d32 1 a32 1 ---+++++ Clearing the Trash d36 1 a36 1 ---+++ Redirecting from an Old Topic d46 1 a46 1 ---+++ Impact of Topic Access Settings d50 1 a50 1 ---+++ How Rename/move Works d59 1 a59 1 ---+++ Known Limitations @ 1.6 log @none @ text @d1 1 a1 1 %META:TOPICINFO{author="MikeMannix" date="999329908" format="1.0" version="1.6"}% d7 1 a7 1 Select [Rename/move] when viewing a topic to change its name, delete it or move it d9 9 a17 5 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. d21 1 a21 1 ---+++ Referring Topics d27 2 a28 1 ---+++ Deleting a Topic d30 1 a30 1 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. d32 3 a34 1 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. d38 1 a38 1 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{...}%. d40 2 a41 1
d43 2
a44 1
d46 1 a46 1 ---+++ Permissions d48 1 a48 1 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. d50 1 a50 1 ---+++ Procedure d52 1 a52 1 * %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#Meta_Data_Definition][meta data]] d54 1 a54 1 * <PRE> and <verbatim> are honoured - no changes to text within these areas d56 2 a57 2 * 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. d61 1 a61 1 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. d72 2 a73 2
@ 1.5 log @none @ text @d1 1 a1 1 %META:TOPICINFO{author="MikeMannix" date="999297399" format="1.0" version="1.5"}% d5 1 a5 1 ---## Modifying Topics d7 1 a7 1 Select rename/move when viewing a topic to change its name, delete it or move it d17 1 a17 1 ---+++ Referring topics d23 1 a23 1 ---+++ Deleting a topic d29 1 a29 1 ---+++ Redirection from old topic d41 1 a41 1 ---+++ Approach d50 1 a50 1 ---+++ Limitations d56 1 d63 3 a65 4 @ 1.4 log @none @ text @d1 1 a1 1 %META:TOPICINFO{author="MikeMannix" date="999178132" format="1.0" version="1.4"}% d5 1 a5 1 ---## Rename/move/delete a topic @ 1.3 log @none @ text @d1 1 a1 1 %META:TOPICINFO{author="JohnTalintyre" date="999105045" format="1.0" version="1.3"}% d3 2 d7 1 a7 1 Select rename/move when viewing a topic to change its name, [[DeleteTopic][Delete it]] or [[MoveTopic][Move it]] @ 1.2 log @none @ text @d1 1 a1 1 %META:TOPICINFO{author="JohnTalintyre" date="997289816" format="1.0beta2" version="1.2"}% d5 1 a5 1 Select rename/move when viewing a topic to change its name, do DeleteTopic or MoveTopic. d17 1 a17 1 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. d23 1 a23 1 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. d32 1 a32 1

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

d37 1 a37 1 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. d41 6 a46 4 * %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 d50 1 a50 1 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. @ 1.1 log @none @ text @d1 1 a1 1 %META:TOPICINFO{author="JohnTalintyre" date="997200531" format="1.0beta2" version="1.1"}% d3 1 a3 1 + Rename/move/delete a topic d15 1 a15 1 ++ Referring topics d21 1 a21 1 ++ Deleting a topic d27 1 a27 1 ++ Redirection from old topic d35 1 a35 1 ++ Permissions d38 22 @