create new tag
, view all tags
Creating a new topic automatically adds a signature; but editing does not...

Currently, TWiki has a line after the text-edit box that says "--Main.WikiName - 01 Jan 2000 <br> <== This is your signature for easy copy & paste operation"

But, why not instead have a check box that says "Add --Main.WikiName - 01 Jan 2000 <br>"

Maybe, to make it more intelligent, it could automatically suggest adding the signature if the user forgets to do it himself?

-- JosephChiu - 06 Sep 2000

Nice idea. However there is the problem that the content of a <TEXTAREA> can't be controlled on the browser side. Well, it is probably possible to do that with DHTML, but that would unnecessarily raise the RequiredEnvironmentForTWiki.

Another approach is to create a new user preference variable flag to automatically insert one's signature when editing a topic.

-- PeterThoeny - 06 Sep 2000

I think automating signatures is a good idea. How about just appending the signature onto the end of the content of the topic before it is edited?

-- MartinCleaver - 11 Mar 2001

That is what I meant; not always, but user selectable by a preference variable flag.

-- PeterThoeny - 30 Mar 2001

user-selectable? So that some users will always make anonymous edits, making it look as if their changes were done by others? Perhaps it should be a wiki, web, and topic preference. At least then the style would be consistent per page. The user can, in any case, just delete the line with his signature (or anyone else's) if he wants.

-- HendrikBoom - 31 Mar 2001

I just made a comment about this in AttachingWhilstEditing. It might not be possible to append the user's signature to the end of the textbox content on the browser side (javascript can't do this?), but one could send it up as another CGI variable that the server could append. I also don't think it's such a good idea to let signaturing be a user preference. If we have authentication in order to edit, then a signature should be required. OTOH, if your web is totally open, then it would be a site or web preference setting...

-- DavidLeBlanc - 31 Mar 2001

Why not simple change the edit.tmpl to your preferences HowToDiscussAndSign? Move the sig line into the <TEXTAREA>. Append it at the bottom, or insert it on top...

-- PeterKlausner - 11 Apr 2001 (start to dislike ^C ^V smile

If the signature is added automatically on the end, it does not guarantee that the text the user edited is at the end. I could have placed this comment at the top of the textarea and the signature wouldn't be matched with the text.

Why not change the edit post-processing to:

  • perform a diff to see where the user made changes (perhaps one or more places)
  • append the signature after the change
  • optionally add some bounds so that a signature is only automatically added when the user changes a "significant" amount of the text; correcting a spelling mistake in someone else's paragraph doesn't get their signature pasted there.

-- TWikiGuest - 03 Jan 2002

  1. Post processing of a topic is a possible for a whole new line of plugins (plugouts?)
  2. The signature line inserted by the JavaScriptEditor etc should be a user preference. I would have mine to say:

-- %INCLUDE{Main.MartinCleaver}% -- $date

and have a corresponding START/STOPINCLUDE in my home topic, thusly:

-- MartinCleaver - 20 Apr 2003

Edit | Attach | Watch | Print version | History: r11 < r10 < r9 < r8 < r7 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r11 - 2008-08-28 - TWikiJanitor
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.