[Pmwiki-users] Programmatically adding to recent changes

Ciaran ciaranj
Sun Nov 28 23:16:50 CST 2004


Marvellous, thanks :) 
-Ciaran


On Sun, 28 Nov 2004 19:42:59 -0700, Patrick R. Michaud
<pmichaud at pobox.com> wrote:
> On Sat, Nov 27, 2004 at 06:22:09PM +0000, Ciaran wrote:
> > Hi,
> > Is there a simple mechanism for adding to the recent changes page
> > programatically?
> 
> In PmWiki 2, you can call PostRecentChanges directly, as in
> 
>    PostRecentChanges($pagename,$x,$y);
> 
> Normally PostRecentChanges is called with the old and new versions of
> the page in $x and $y (for compatibility with the other $EditFunctions),
> but PostRecentChanges doesn't actually use them.  Thus you can do
> 
>    PostRecentChanges("Main.WikiSandbox", $x, $y);
> 
> to cause Main.WikiSandbox to be updated on all of the relevant recent
> changes pages (as defined by the $RecentChangesFmt array).
> 
> Pm
> 


-- 
- Ciaran



More information about the pmwiki-users mailing list