[pmwiki-users] Better support for minor changes

Michael_Paulukonis at divintech.com Michael_Paulukonis at divintech.com
Tue Oct 31 09:51:53 CST 2006


Thanks, Pm!

For those of you listening in at home, this is a "going-forward" change. 
ie, pages marked "minor edit" after this code is implemented will not be 
added to "AllRecentChanges" but it does not affect any previous additions.

Also, we need another parentheses:

    if (@$_POST['diffclass'] == 'minor') 
      unset($RecentChangesFmt['$SiteGroup.AllRecentChanges']);

Michael J. Paulukonis
Programmer/Analyst
Diversified Information Technologies
570.207.2413 or 570.343.2300 x 3043




"Patrick R. Michaud" <pmichaud at pobox.com> 
10/31/2006 10:42 AM

To
Michael_Paulukonis at divintech.com
cc
pmwiki-users at pmichaud.com
Subject
Re: [pmwiki-users] Better support for minor changes






On Tue, Oct 31, 2006 at 09:28:09AM -0500, Michael_Paulukonis at divintech.com 
wrote:
>    Look like nobody followed up on this one; I also have a question -- 
how to
>    hide/remove the "Minor changes" from the "AllRecentChanges" window.

Try the following in config.php:

    if (@$_POST['diffclass'] == 'minor') 
      unset($RecentChangesFmt['$SiteGroup.AllRecentChanges'];

This will cause any minor changes post to not be displayed in
Site.AllRecentChanges .

Pm


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
CONFIDENTIALITY NOTICE: If you have received this e-mail in error, please
immediately notify the sender by e-mail at the address shown. This e-mail
transmission may contain confidential information. This information is
intended only for the use of the individual(s) or entity to whom it is
intended even if addressed incorrectly. Please delete it from your files
if you are not the intended recipient. 
Copyright (c) 2006 Diversified Information Technologies
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/pmwiki-users/attachments/20061031/4e957995/attachment.html 


More information about the pmwiki-users mailing list