2009/3/31 Frank Schweickert <f.schweick...@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
_______________________________________________
pmwiki-devel mailing list
pmwiki-devel@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-devel

Reply via email to