[pmwiki-devel] Always making draft edits minor edits

Petko Yotov 5ko at 5ko.fr
Wed Feb 6 17:47:55 CST 2008


On Thursday 07 February 2008, Karl Andersson wrote:
> Is there a way to ensure that draft edits always are recorded as minor
> edits? This would really help to clear up my page histories

Yes. Set this line in config.php:

   if(@$_POST['postdraft']) $_POST['diffclass'] = 'minor';

Thanks,
Petko





More information about the pmwiki-devel mailing list