<div class="gmail_quote">2009/3/31 Frank Schweickert <span dir="ltr">&lt;<a href="mailto:f.schweickert@uva.nl">f.schweickert@uva.nl</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">



  

<div bgcolor="#ffffff" text="#000000">
I added this to <a href="http://www.pmwiki.org/wiki/PmWiki/Functions" target="_blank">http://www.pmwiki.org/wiki/PmWiki/Functions</a><br>
<br>
Typically, the functions of pmwiki.php should &#39;&#39;not be called
directly&#39;&#39; 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]].<br></div></blockquote><div><br>While this is true for UpdatePage() I&#39;m not convinced it is a general rule...<br><br>BTW I documented the custom action business on a different page at <a href="http://www.pmwiki.org/wiki/PmWiki/CustomMarkupAlt#customaction">http://www.pmwiki.org/wiki/PmWiki/CustomMarkupAlt#customaction</a> after Hans wrote and before you posted here.  I suppose having it in 2 places is better than none...<br>
<br>-Peter <br></div></div>