Welcome, Registration, and other StartingPoints; TWiki history & Wiki style; All the docs...
View   r6  >  r5  ...
ManagingTopics 6 - 01 Sep 2001 - Main.MikeMannix
Line: 1 to 1
 
META TOPICPARENT name="WebHome"
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
 
  1. Select target Web if other than existing Web
  2. Fill in new name - defaults to current name
Line: 14 to 14
 
    • If any of the referring pages are locked then they will be listed
    • You can correct these later by again pressing Rename/Move
Changed:
<
<

Referring topics

>
>

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.

Changed:
<
<

Deleting a topic

>
>

Deleting a Topic

 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.

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.

Changed:
<
<

Redirection from old topic

>
>

Redirecting from an 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{...}%.
Line: 38 to 38
 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:
<
<

Approach

>
>

Procedure

 
  • %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
Line: 47 to 47
 
  • 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:
<
<

Limitations

>
>

Known Limitations

 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.

Added:
>
>
 
[[Old Topic]]  => [[NewTopic][Old Topic]]
[[old topic]]  => [[NewTopic][old topic]]
[[old t opic]] => not changed
[[OldTopic]]   => [[NewTopic]]
Added:
>
>
 
Changed:
<
<
>
>
META TOPICMOVED by="MikeMannix" date="999329908" from="TWiki.RenameTopic" to="TWiki.ManagingTopics"

Revision 6r6 - 01 Sep 2001 - 07:38:28 - MikeMannix?
Revision 5r5 - 31 Aug 2001 - 22:36:39 - MikeMannix?
This site is powered by the TWiki collaboration platform.
All material on this collaboration platform is the property of the contributing authors.
All material marked as authored by Eben Moglen is available under the license terms CC-BY-SA version 4.
Syndicate this site RSSATOM