Cairo compatibility module, for use with Plugins written for Cairo but run wiuth earlier versions of TWiki.

Summary of Contents

Implements some of the functions added in Cairo so they are available to plugins running in a pre-Cairo installation. This allows plugin authors to upgrade to Cairo without losing compatibility with earlier TWiki releases.

If you find that this module doesn't enable the plugin you are interested in, but manage to fix it so it does, then please,, please, please submit a patch with the fix.

Detailed Documentation

Cairo Compatibility Module

If a plugin uses Cairo function calls, you can include this module to ensure it is compatible with older releases of TWiki. Of course you should instruct users to upgrade to Cairo by preference, but this module should make sure the plugin works if they can't for some reason.

The module should NOT be used when running alongside code later than Beijing.

Plugin authors should feel free to check in to this module, but please be careful not to break anything.

TWiki::Func::getRegularExpression

See documentation in TWiki:Codev/FuncDotPm

TWiki::expandVariablesOnTopicCreation

See documentation in TWiki:Codev/TWikiDotPm

CairoCompatibilityModule::readTemplate

See documentation in TWiki:Codev/StoreDotPm

Settings

  • Name of the perl package
    • Set STUB = TWiki::Contrib::CairoContrib

Installation Instructions

  • Download the ZIP file from the Plugin web (see below)
  • Unzip CairoContrib.zip in your twiki installation directory. Content:
    File: Description:
    data/TWiki/CairoContrib.txt  
    lib/TWiki/Contrib/CairoContrib.pm  
    lib/TWiki/Contrib/CairoContrib/build.pl  

Plugin Info

Author: TWiki:Main/CrawfordCurrie
Copyright ©: 2004, Crawford Currie http://www.c-dot.co.uk
License: GPL
Dependencies: None
Change History:  
14/08/04 Separated out from SharedCode module
Home: http://TWiki.org/cgi-bin/view/Plugins/CairoContrib
Feedback: http://TWiki.org/cgi-bin/view/Plugins/CairoContribDev

Related Topics: TWikiPreferences

-- TWiki:Main/CrawfordCurrie - 12:54:08 16 August 2004

Navigation

%IFSKINSTATETHEN{searchbox="pos2"}%

%FISKINSTATE%
%MYSIDEBAR%

 
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback