Tags:
create new tag
, view all tags

VersionLinkPluginDev Discussion: Page for developer collaboration, enhancement requests, patches and improved versions on VersionLinkPlugin contributed by the TWikiCommunity.
• Please let us know what you think of this extension.
• For support, check the existing questions, or ask a new support question in the Support web!
• Please report bugs below

Feedback on VersionLinkPlugin

To Do

  • There's a bug with the TWiki/bin/viewfile script in the current distribution. This module will always change the name of the download filename to the name of the topic unless you retrieve the latest version. The reason this occurs is as follows: If the requested version is the latest version, viewfile redirects the CGI to download the latest copy on the server. Otherwise it manually builds a download stream of the file from rcs. When it builds the download stream from rcs, it doesn't include a Content-Disposition: tag, which is how you specify what the download filename is. I fixed viewfile on my site to do this. If you want this fix (also fixes the same problem from the Attachment screen), use viewfile.zip

-- EdLott - 08 Dec 2001

Cloned this topic to Codev.ViewfileUsesTopicName since it should be fixed in the core code.

-- PeterThoeny - 10 Dec 2001

A small feedback: It would be more consistent to put parameter values in double quotes, i.e. %VERSIONLINK{file="foo.c" version="1.1"}%.

This can be parsed easily with TWiki::Func::extractNameValuePair().

-- PeterThoeny - 04 Jan 2002

Would there be value in incorporating this as a standard feature?

-- MartinCleaver - 20 Jan 2002

Topic attachments
I Attachment History Action Size Date Who Comment
Compressed Zip archivezip viewfile.zip r1 manage 1.7 K 2001-12-10 - 21:47 EdLott viewfile fix
Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r6 - 2004-11-20 - MartinCleaver
 
  • 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.