• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

At the moment FUC is

package TWiki::Contrib::FuncUsersContrib

this is correct, but it needs to change to also extend TWiki::Func, thus

package TWiki::Contrib::FuncUsersContrib;

# VERSION and suchlike stuff
# stubs linking to TWiki::Func methods

package TWiki::Func;

# actual impls

That way plugins that use it can work in TWiki-4 by:

if (this_is_twiki4) {
   eval 'use TWiki::Contrib::FuncUsersContrib';
}
and in TWiki-5 can just use the native fns in TWiki::Func in the core.

CC

ItemTemplate
Summary FUC needs to extend Func
ReportedBy TWiki:Main.CrawfordCurrie
Codebase ~twiki4, ~develop
SVN Range Wed, 24 May 2006 build 10305
AppliesTo Extension
Component FuncUsersContrib
Priority Urgent
CurrentState Closed
WaitingFor

Checkins 10352 10353
TargetRelease n/a
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2006-05-26 - CrawfordCurrie
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback