On 1/8/2010 4:39 PM, V.Krishn wrote: > Hello, > > Is there a way of updating a wikipage internally from cookbook? > Will it be ok if I just called the function UpdatePage() with required > parameters, i.e pagename, $page (original page array) and $new page array, in > which only $new['text'] is modified or I need to also calculate some other > values in the $new array, like $new ['ctime'] and $new ['diff']? When I started with PmWiki I found it useful to look at PmWiki scripts themselves for examples, and also other cookbooks.
In this case you might want to consider setting $new['csum'] to contain a brief description of the change you are writing to the page. ~ ~ Dave _______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
