Changeset 1952


Ignore:
Timestamp:
01/13/09 07:08:44 (3 years ago)
Author:
KennethLavrsen
Message:

Item736: Comment plugin doesn't know about Compare Revisions
Making CommentPlugin know about its popular cousin and threat it same was as rdiff
Thanks to Timothe Litt for this small fix

Location:
trunk/CommentPlugin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/CommentPlugin/data/System/CommentPlugin.txt

    r1396 r1952  
    245245 
    246246|  Plugin Author: | Foswiki:Main.CrawfordCurrie http://www.c-dot.co.uk inspired by the work of TWiki:Main.DavidWeller and TWiki:Main.PeterMasiar | 
    247 |  Copyright: | &copy; 2004, TWiki:Main.CrawfordCurrie<br />&copy; 2004-2007 Foswiki:%SYSTEMWEB%.ProjectContributor | 
     247|  Copyright: | &copy; 2004, TWiki:Main.CrawfordCurrie<br />&copy; 2004-2009 Foswiki:%SYSTEMWEB%.ProjectContributor | 
    248248|  License: | GPL ([[http://www.gnu.org/copyleft/gpl.html][GNU General Public License]]) | 
    249 |  Plugin Version: | 16 Dec 2008 %$VERSION% | 
     249|  Plugin Version: | 13 Jan 2009 %$VERSION% | 
    250250|  Change History: | | 
     251|  13 Jan 2009 | Foswikitask:736 Make !CommentPlugin aware of CompareRevisionsAddOn bin script. | 
    251252|  16 Dec 2008 | Foswiki version | 
    252253|  03 Aug 2008 | The TWiki 4.2.1 release version |  
  • trunk/CommentPlugin/lib/Foswiki/Plugins/CommentPlugin.pm

    r1340 r1952  
    1212use vars qw( $VERSION $RELEASE $SHORTDESCRIPTION $NO_PREFS_IN_TOPIC ); 
    1313 
    14 our $VERSION = '$Rev: 15788 $'; 
    15 our $RELEASE = 'Foswiki-1.0.0'; 
     14our $VERSION = '$Rev$'; 
     15our $RELEASE = 'Foswiki-1.0.1'; 
    1616our $SHORTDESCRIPTION = 'Quickly post comments to a page without an edit/preview/save cycle'; 
    1717our $NO_PREFS_IN_TOPIC = 1; 
     
    3535    my $scriptname = $ENV{'SCRIPT_NAME'} || ''; 
    3636    # SMELL: unreliable 
    37     my $previewing = ($scriptname =~ /\/(preview|gnusave|rdiff)/); 
     37    my $previewing = ($scriptname =~ /\/(preview|gnusave|rdiff|compare)/); 
    3838    Foswiki::Plugins::CommentPlugin::Comment::prompt( $previewing, 
    3939                                                    $_[0], $web, $topic ); 
Note: See TracChangeset for help on using the changeset viewer.