You can add to config.php:

  if ( @$_POST['postedit']>'' || @$_POST['postdraft']>'' )
    unset($RecentChangesFmt);

This disables both Site.AllRecentChanges and Group.RecentChanges.

To only disable one of these, unset it individually:

  $RecentChangesFmt['$SiteGroup.AllRecentChanges']
  $RecentChangesFmt['$Group.RecentChanges']

If you do this, add a note to remember to remove it if you disable drafts, or if you add more editors -- otherwise the "Save and edit" edits will not appear in RecentChanges.

Petko

On 21/11/2019 19:38, Robert Riebisch wrote:
how do I prevent, that saving a draft appears in (All)RecentChanges?
I'm the only user in my personal wiki, so I know, which drafts I created.

Would like to add the answer to <https://www.pmwiki.org/wiki/PmWiki/Drafts>.

_______________________________________________
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to