Tags:
create new tag
view all tags
Module name rdiff RdiffCgiScript
Location TWIKIROOT/bin/rdiff
Summary To present a view of differences between revisions of topics
Primary Author Main.

CVS history http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/twiki/twiki/bin/rdiff
CVS alpha http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/twiki/twiki/bin/rdiff?rev=HEAD&content-type=text/vnd.viewcvs-markup
Contributing authors (see CVS History)
IsClass NO - Is FatCgiScript
First TWikiRelease to be filled out

Purpose

On the bottom bar shown when viewing topics, the list of recent version numbers is displayed. When the user selects on a > sign shown between versions, it directly invokes this script.

Used by

One of:

Diagram:

TWiki Modules used

This CGI script depends on the following TWiki modules for functionality:

External Modules used

This CGI script also depends on the following external modules

PublicMethods

This section lists the methods that can be used by the scripts and by other modules

  • ...

PrivateMethods

These do not need to be not documented yet

Please see CodevDocumentationProject and CodevDocumentationProjectDev for comments on the format of these pages.

-- MartinCleaver - 23 Jun 2002

  1. There is no %RDIFF%-like Wiki syntax to invoke this script.
  2. This script is considered a FatCgiScript because the code to implement the diffing functionality is directly in the script rather than being a backend library. Fixing this would minimally require all subs except main to go into a DotPm file.
    • This is not broken as there is no requirement to fix it. I would look to factor out the functionality if it needed to be accessed from elsewhere. This script is 257 lines long, is that really fat? [ JohnTalintyre 02 Jul 2002 ]
      • I agree that TWikiMission does not say that scripts cannot be fat, therefore I agree it is not broken. (Else I'd have logged it as a bug wink ) Whether the script is 3 lines, 257 lines or 1,000,000 lines doesn't determine fatness, the only thing that does is that functionality is in the front end script. [ MartinCleaver 03 Jul 2002 ]

-- MartinCleaver - 01 Jul 2002

Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r6 - 2006-05-04 - SamHasler
 
  • 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-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.