[pmwiki-users] links broken & relative nightmares

Patrick R. Michaud pmichaud at pobox.com
Mon Oct 30 15:20:56 CST 2006


On Sun, Oct 29, 2006 at 12:55:45AM -0400, Stirling Westrup wrote:
> Patrick R. Michaud wrote:
> > On Fri, Oct 27, 2006 at 11:51:24PM +0100, Hans wrote:
> >> Well after this debacle I vote for an easy to use version checking
> >> mechanism for installed recipes, but it needs to be easy for a
> >> thickbrained person like me. 
> > 
> > [...] it would be good for recipe authors to start adding lines like
> > 
> >     $RecipeInfo['RecipeName]['Version'] = '20061025';
> > 
> I put a $RecipeInfo entry in my new QuickReplace
> recipe, but I was thinking of adding some extra fields and didn't know
> quite how to put them in.  In the end I settled on:
> 
> // Standard Recipe Information for PmWiki
> $RecipeInfo['QuickReplace'] = array
>   ( 'Version' => '20061027'
>   , 'Author'  => 'Stirling Westrup'
>   , 'Email'   => 'sti at pooq.com'
>   );

Looks okay to me.

> I was tempted to also add
> an entry for configuration wiki pages. [...]
> 
> $RecipeInfo['QuickReplace']['ConfigPage'] = array
>   ( 'Entities' => 'Site.Entities'
>   , 'Acronyms' => array
>        ( 'Site.Acronyms'
>        , 'Group.Acronyms'
>        , 'Page-Acronyms'
>        )
>   , 'QuickReplace' => 'Site.QuickReplace'
>   );
> 
> And that seemed somewhat excessive (as well as being problematic to
> parse). 

I agree, it seems like overkill for the time being.  Personally,
I wouldn't bother to add this much detail until we have a
recipe that actually uses it.

Pm




More information about the pmwiki-users mailing list