<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<a moz-do-not-send="true"
 href="http://www.pmwiki.org/wiki/PmWiki/Functions" target="_blank"></a><br>
<blockquote
 cite="mid:784f80490903310310i560797dnf267ef21291ac659@mail.gmail.com"
 type="cite">
  <div class="gmail_quote">
  <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">Typically, the functions of
pmwiki.php should ''not be called
directly'' in a cookbook recipe which is executed as include file in
config.php.<br>
    </div>
  </blockquote>
  <div><br>
While this is true for UpdatePage() I'm not convinced it is a general
rule...<br>
  </div>
  </div>
</blockquote>
This general rule was my initial question to this mailing list. As long
as one cannot be sure about the appropriate context, using handlers are
the safe way, aren't they? I, for instance, would have destroyed all my
page histories otherwise ...<br>
<br>
<blockquote
 cite="mid:784f80490903310310i560797dnf267ef21291ac659@mail.gmail.com"
 type="cite">
  <div class="gmail_quote">
  <div><br>
BTW I documented the custom action business on a different page at <a
 moz-do-not-send="true"
 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.&nbsp; I suppose having it in 2
places is better than none...<br>
  </div>
  </div>
</blockquote>
Is it possible to move <a moz-do-not-send="true"
 href="http://www.pmwiki.org/wiki/PmWiki/CustomMarkupAlt#customaction">http://www.pmwiki.org/wiki/PmWiki/CustomMarkupAlt#customaction</a>
to <br>
<a moz-do-not-send="true"
 href="http://www.pmwiki.org/wiki/PmWiki/CustomMarkupAlt#customaction">http://www.pmwiki.org/wiki/PmWiki/CustomActions</a>
? (by leaving a link, of course)<br>
Because I was looking into actions when I felt that Markup was just NOT
what I wanted.<br>
<br>
I suggest promoting Custom Markup and Custom Actions as the two main
customization features for add-on scripts. My own earlier naive
approach of scripting effectively during execution config.php (albeit
in cookbook includes) is not the way that "layman" add-on authors
should be guided too.<br>
<br>
Frank<br>
<br>
<pre class="moz-signature" cols="72">-- 
_______________________________________________________________________
Dr. Frank F. Schweickert
AMSTEL Institute, Faculty of Science, University of Amsterdam
Kruislaan 404, Amsterdam, 1098 SM, Netherlands
Room 1.09
Phone: +31 20 525-5969, Fax: +31 20 525-5866
<a class="moz-txt-link-freetext" href="http://www.science.uva.nl/amstel">http://www.science.uva.nl/amstel</a>
<a class="moz-txt-link-freetext" href="http://www.natsim.net">http://www.natsim.net</a></pre>
</body>
</html>