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

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2005-05-01 - PeterThoeny
 
  • 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-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.