[pmwiki-devel] PostPage in recipe

Peter Bowers pbowers at pobox.com
Tue Mar 31 05:10:03 CDT 2009


2009/3/31 Frank Schweickert <f.schweickert at uva.nl>

>  I added this to http://www.pmwiki.org/wiki/PmWiki/Functions
>
> Typically, the functions of pmwiki.php should ''not be called directly'' in
> a cookbook recipe which is executed as include file in config.php. At this
> early stage of PmWiki processing, many internal global variables are not yet
> properly initialized, and these functions will behave unexpectedly. To
> execute them timely, use the handler functions described in the articles
> about [[Custom Markup]] and [[Custom Actions]].
>

While this is true for UpdatePage() I'm not convinced it is a general
rule...

BTW I documented the custom action business on a different page at
http://www.pmwiki.org/wiki/PmWiki/CustomMarkupAlt#customaction after Hans
wrote and before you posted here.  I suppose having it in 2 places is better
than none...

-Peter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.pmichaud.com/pipermail/pmwiki-devel/attachments/20090331/75740e90/attachment.html 


More information about the pmwiki-devel mailing list