Question
Hi Everybody,
Is it possible to rename a topic, using the "rename" script, without orphaning the children of the re-named topic? As far as I can tell, the metadata pointing to a parent topic doesn't get updated in child topics when a parent topic is renamed.
Maybe it's possible to do this
without using the rename script, although the rename script is certainly convenient.
Thank you,
Tom Davey
Environment
--
TomDavey - 04 Mar 2007
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
Hmm, when a parent topic is renamed, all children's parent should be fixed (unless topics are unchecked during rename). This is a bug if not.
Although not documented, you can move topics using the shell. Simply move topic data (
data/Myweb/MyTopic.txt,
data/Myweb/MyTopic.txt,v) and attachment data (
pub/Myweb/MyTopic/myfile.txt,
pub/Myweb/MyTopic/myfile.txt,v if any.) This will not fix any backlinks though. Is useful if you move a set of topics to a different web, or even a different TWiki installation.
--
PeterThoeny - 05 Mar 2007