You are here: Foswiki>Tasks Web>Item1873 (08 Jan 2009, KwangErnLiew)Edit Attach
Copy-and-pasting works, but yuck!
You don't use search very often, do you? Otherwise you would easily have found TWiki:Codev.CloneTopicLinkUnderMore.

You also don't return to your own TWiki:Codev.FeatureRequests, otherwise you would have read my comment at TWiki:Codev.AddCopyTopic.

Well, we members of the TWiki:Codev.TWikiCommunity are used to answer all kinds of (...) questions patiently (over and over again, cause (...) people don't RTFM)

-- TWiki:Main.FranzJosefSilli

I think it should be in the standard oopmore, not something that people add. As to it being non-wiki-like, I use it primarily with searches that I'm going to then modify, and things like that. When you're developing a TWikiApplication, one often has boilerplate code that one reuses with modifications.

As to searching, this directly relates to all of the cruft debate. I've pretty much given up on searching because I get so many false hits.


Against 4.2.3:

diff oopsmore.tmpl.orig oopsmore.tmpl

> %TMPL:DEF{"copytopic"}%---+++ %MAKETEXT{"Copy topic"}%
> <form action="%SCRIPTURLPATH%/edit%SCRIPTSUFFIX%/%WEB%/">
>    * Copy %TOPIC% to new topic named: <br />
>         <input type="text" name="topic" value="%TOPIC%Copy" size="36">
>         <input type="hidden" name="onlynewtopic" value="on">
>         <input type="hidden" name="templatetopic" value="%TOPIC%">
>    * then
>         <input type="submit" class='twikiButton' value="Clone">, edit and save the new topic<br />
>         __Note:__ Topic text and form content, but excluding attachments is cloned
> </form>
> %TMPL:P{"copytopic"}%

Checked in:
Authentication realm: <> Subversion repository
Username: MartinCleaver
Password for 'MartinCleaver': 
Sending        oopsmore.tmpl
Transmitting file data .
Committed revision 819.

-- 19 Nov 2008


If this is already checked in, its state should be changed to "Waiting Release"
The wording needs change.

Item1873: changed order on page; updated form with SCRIPTURL instead of SCRIPTURLPATH+SUFFIX; added css classes; added explanation; made nowysiwyg default

Should we also add the checkbox "allow non wiki words", to prevent users from creating topics with any name?

-- ArthurClemens - 21 Nov 2008 - 22:27

ItemTemplate edit

Summary Need Copy topic, not just move and rename
ReportedBy TWiki:Main.MeredithLesly
Codebase trunk
SVN Range Mon, 13 Mar 2006 build 9258
AppliesTo Engine
Priority Enhancement
CurrentState Closed
Checkins distro:b97ff774f74e distro:e2134573e4fa
TargetRelease patch
ReleasedIn 1.0.0
Topic revision: r15 - 08 Jan 2009, KwangErnLiew - This page was cached on 16 Sep 2021 - 14:15.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy