How do you keep the full page history when using UpdatePage($pn, $old,
$page) from PHP?

I tried the following, reading the current page values into $old. But
there are no diffs added to the page source in wiki.d (and rev=1).
It's just overwriting, as though the page had not existed. Do I have
to call another function to get history added?

$page['text'] = 'the new text';
$pn = 'MyGroup.MyPage';
$old = ReadPage($pn);
UpdatePage($pn, $old, $page);

Many Thanks,

Marcus

_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to