[pmwiki-users] Drafts vs. RecentChanges

Robert Riebisch rr at bttr-software.de
Tue Nov 26 12:43:45 PST 2019

Hi Petko,

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

Another idea to handle this topic:
Why not keep *-Draft pages posted to (All)RecentChanges, but remove
those entries after pressing the "Publish" button for that page?

              +++ BTTR Software +++
     Home page: https://www.bttr-software.de/
DOS ain't dead: https://www.bttr-software.de/forum/

More information about the pmwiki-users mailing list