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)
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:
Plugin Info
Related Topics: TWikiPreferences,
TWikiPlugins
--
EdLott - 08 Dec 2001