METASEARCH{type="topicmoved" web="%WEB%" topic="%TOPIC%"
> title="This topic used to exist and was moved to: "}%
## Impact of Topic 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
* %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
* `` and `` 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.
## Known Limitations
**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.
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]]
-- [[MikeMannix]] - 15 Sep 2001