Tags:
attachments1Add my vote for this tag changes1Add my vote for this tag version_control1Add my vote for this tag create new tag
, view all tags

VersionLinkPlugin

[Development discussions in VersionLinkPluginDev]

This plugin makes it easy to link to a VERSION of an attached file vs. linking to the latest version (what ATTACHURLPATH does). I basically pinched the code that viewfile.pm uses to let you download versions of files from RCS.

Syntax Rules

%VERSIONLINK{ filename , version }%

Example: %VERSIONLINK{foo.c,1.1}%

VersionLinkPlugin Settings

Plugin settings are stored as preferences variables. To reference a plugin setting write %<plugin>_<setting>%, i.e. %INTERWIKIPLUGIN_SHORTDESCRIPTION%

  • One line description, is shown in the TextFormattingRules topic:
    • Set SHORTDESCRIPTION = This plugin makes it easy to link to a VERSION of an attached file vs. linking to the latest version.

  • Debug plugin: (See output in data/debug.txt)
    • Set DEBUG = 0

Plugin Installation Instructions

  • Download the ZIP file from the Plugin web (see below)
  • Unzip VersionLinkPlugin.zip in your twiki installation directory. Content:
    File: Description:
    data/TWiki/VersionLinkPlugin.txt Plugin topic
    data/TWiki/VersionLinkPlugin.txt,v Plugin topic repository
    lib/TWiki/Plugins/VersionLinkPlugin.pm Plugin Perl module
  • Check this topic here if the installation was successful
  • Test if the plugin is correctly installed:
    • %VERSIONLINK{foo.c,1.1}%

Plugin Info

Plugin Author: EdLott
Plugin Version: 08 Dec 2001
Change History: ?? ??? 2001: Added...
08 Dec 2001: Initial version
CPAN Dependencies:  
Other Dependencies:  
Perl Version: 5.0
Plugin Home: http://TWiki.org/cgi-bin/view/Plugins/VersionLinkPlugin
Feedback: http://TWiki.org/cgi-bin/view/Plugins/VersionLinkPluginDev

Related Topics: TWikiPreferences, TWikiPlugins

-- EdLott - 08 Dec 2001

Topic attachments
I Attachment Action Size Date Who Comment
Unknown file formatmd5 VersionLinkPlugin.md5 manage 0.2 K 2008-12-12 - 12:49 SopanShewale checksum file , Uploaded as a part of Release Process
Compressed Zip archivetgz VersionLinkPlugin.tgz manage 3.8 K 2008-12-12 - 12:49 SopanShewale See VersionLinkPlugin for details. Untar and run the installer script, Uploaded as a part of Release Process
Compressed Zip archivezip VersionLinkPlugin.zip manage 5.2 K 2008-12-12 - 12:49 SopanShewale See VersionLinkPlugin for details. Unzip and run the installer script , Uploaded as a part of Release Process
Unknown file formatEXT VersionLinkPlugin_installer manage 3.4 K 2008-12-12 - 12:50 SopanShewale Installer Script, Uploaded as a part of Release Process
Topic revision: r7 - 2008-12-12 - SopanShewale
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by PerlIdeas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.