[pmwiki-devel] Sharing common functions between recipes / a core modification request

Patrick R. Michaud pmichaud at pobox.com
Sat Nov 4 09:30:52 CST 2006


On Sat, Nov 04, 2006 at 02:22:16PM +0100, Dominique Faure wrote:
> On 11/4/06, Hans <design5 at softflow.co.uk> wrote:
> >Thursday, November 2, 2006, 11:06:34 AM, Dominique wrote:
> >
> >> Thus, my request core modification is to provide an
> >> ExplodeLink()-equivalent function in (and BTW having ResolveLink()
> >> using it).
> >
> >> The ResolveLink() could be efficiently shared between all the recipes
> >> that would make use of attachement/url specifications and therefore
> >> being integrated also...
> >
> >Dom, I am all for reusing functions and code.
> >Especially since I have difficulty in understanding them anyway!
> >I can't comment on the implications of your request for changing the
> >ExplodeLink function in pmwiki (if I understood you correctly).
> >But I hope Pm was listening.
> >
> 
> In fact, the core only has the "all-in-one" MakeLink() function available.
> My purpose here was to have it splitted in two, with something
> equivalent to my ExplodeLink() made available in the core. (the
> current implementation is a quasi pure copy-paste).

I looked at the code, but I couldn't quite figure out what
features ExplodeLink() has that MakeLink() doesn't already
provide...?

Pm




More information about the pmwiki-devel mailing list