[pmwiki-users] Re: Re: MarkupExtensions and other interdependent recipes

Patrick R. Michaud pmichaud at pobox.com
Thu Jun 9 12:36:47 CDT 2005


On Mon, Jun 06, 2005 at 10:33:09PM +0200, Joachim Durchholz wrote:
> chr at home.se wrote:
> >Sounds like a good idea to me, but perhpas an array should be used instead 
> >of a string? (In case an "extension name" contains a space).
> 
> Rather rename the extension :-)
> 
> A single string would be far easier to write, and the recipe can easily 
> explode() it into an array.

Sometimes a single string is easier to write, sometimes an array is
easier to write.  This is why many of PmWiki's defaults can be either
delimited strings or arrays.  My suggestion is for the recipe to understand
arrays of space-delimited arguments.

Pm



More information about the pmwiki-users mailing list