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 History Action Size Date Who Comment
Unknown file formatmd5 VersionLinkPlugin.md5 r2 r1 manage 0.2 K 2008-12-12 - 12:49 SopanShewale checksum file , Uploaded as a part of Release Process
Compressed Zip archivetgz VersionLinkPlugin.tgz r2 r1 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 r3 r2 r1 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 r2 r1 manage 3.4 K 2008-12-12 - 12:50 SopanShewale Installer Script, Uploaded as a part of Release Process
Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r7 - 2008-12-12 - SopanShewale
 
  • 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-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.