[pmwiki-users] Better support for minor changes

Tegan Dowling tmdowling at gmail.com
Tue Oct 31 09:54:00 CST 2006


On 10/31/06, Michael_Paulukonis at divintech.com <
Michael_Paulukonis at divintech.com> wrote:
>
>
> 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.comwrote:
> >    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


Is there any way to set it up so that we can have two links to pick from --
one that shows all changes, and one that shows only the non-minor ones?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/pmwiki-users/attachments/20061031/b0e06588/attachment.html 


More information about the pmwiki-users mailing list