<div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">At present there&#39;s not a re-index function other than editing the<br>page... but I might be able to come up with one.
<br><br>It might turn out to be as simple as (untested!)<br><br>&nbsp;&nbsp;&nbsp;&nbsp;if ($action == &#39;reindex&#39;)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{ $action = &#39;edit&#39;; $_POST = array(&#39;post&#39;=&gt;&#39;1&#39;); }</blockquote><div><br><br>Thanks a lot for your quick reply.
<br><br>I will test this approach.<br><br>However, as the aim is to have the pages generated automatically, it will not be easy to start this action for every page.<br><br>Now that I know the missing targets= attribute is causing the trouble , I can fill it myself when generating the pages.&nbsp; This is probably the easiest solution.
<br><br>I would suggest to consider making a PmWiki internal function that could be called from a cookbook and that would &quot;re-index&quot; everything (same principle as expirediff which can clean-up all pages in one go).
<br><br>Thank again for your help.<br><br>Christophe<br><br><br><br><br><br><br><br><br><br><br><br></div><br></div>