Tags:
create new tag
, view all tags

Question

How can a plugin find out on which revision of a document it acts ? (E.g. if I want to expand variables differently for the latest or older revisions)

Environment

TWiki version: TWikiRelease01Sep2004
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Solaris
Web server: Apache
Perl version: 5.8.2
Client OS:  
Web Browser:  
Categories:  

-- JChristophFuchs - 07 Apr 2005

Answer

There is no Plugin API call for that. As a workaround you can test for a rev CGI parameter.

-- PeterThoeny - 01 May 2005

 
Topic revision: r2 - 2005-05-01 - PeterThoeny
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, 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.