[pmwiki-users] Better support for minor changes

Patrick R. Michaud pmichaud at pobox.com
Tue Oct 31 12:45:46 CST 2006


On Tue, Oct 31, 2006 at 06:14:06PM +0100, Roman wrote:
>      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? 
> 
>     
>    What about this?
>     
>    if (@$_POST['diffclass'] != 'minor')
>      $RecentChangesFmt['$SiteGroup.MajorRecentChanges'] =
>    $RecentChangesFmt['$SiteGroup.AllRecentChanges'];
>     
>    and then add link to new $SiteGroup.MajorRecentChanges page.

Looks good to me, although I would've chosen 'AllRecentMajorChanges'
or something like that.  :-)

I think this particular item deserves a recipe.

Pm




More information about the pmwiki-users mailing list