[Pmwiki-users] Programmatically adding to recent changes

Patrick R. Michaud pmichaud
Sun Nov 28 19:43:07 CST 2004

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


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).


More information about the pmwiki-users mailing list