We relaunched the TWiki.org project with an expanded TWiki charter, and we invite you to participate! The TWiki.org Code of Conduct agreement took effect on 27 Oct 2008. We ask existing twiki.org users to opt-in. You need to opt-in to participate in the Blog, Codev, Plugins and TWiki webs. -- PeterThoeny - 27 Oct 2008
You are here: TWiki> Support Web>HowToCopyATopic (16 Nov 2007, JohnFitzpatrick)
Tags:
create new tag
, view all tags

Question

How to copy a topic in TWiki? I want to make a duplicate page (with a different TWiki name, of course). I can see that I can move and rename things but how about making a copy?

Thanks in advance.

Environment

TWiki version: TWikiRelease04x00x00
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS:  
Web server:  
Perl version:  
Client OS:  
Web Browser:  
Categories:  

-- YuryIKocharyan - 15 Nov 2007

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.

See TWikiVariables for %INCLUDE% .

-- MarcoSilva - 15 Nov 2007

Well, %INCLUDE{...}% is more like a reference to an existing topic: If you change the topic, the "copy" will change as well. You can create a "real" copy by using TWiki's edit or save script with the templatetopic parameter. The parameter onlynewtopic can be given to make sure that the copy does not overwrite an existing topic. See TWiki.TWikiScripts#save for all parameters.

-- HaraldJoerg - 15 Nov 2007

Thanks for your replies.

-- YuryIKocharyan - 16 Nov 2007

You might also be interested in the solution described in CloneTopic.

-- JohnFitzpatrick - 16 Nov 2007

 
Change status to:
Topic revision: r5 - 16 Nov 2007 - 18:25:56 - JohnFitzpatrick
 
TWIKI.NET
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback