Foswiki on GitHub is open for business! Next release meeting: Monday September 15, 1300Z
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.

ML


Against 4.2.3:

diff oopsmore.tmpl.orig oopsmore.tmpl

35c35,45
< 
---
> %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:END%
121a132
> %TMPL:P{"copytopic"}%

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

-- 19 Nov 2008

MC

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
Component
Priority Enhancement
CurrentState Closed
WaitingFor
Checkins Foswikirev:819 Foswikirev:847
TargetRelease patch
ReleasedIn 1.0.0
Topic revision: r15 - 08 Jan 2009, KwangErnLiew
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons License