[pmwiki-users] Minor edit detection to enable mailposts
K.A.Bouton
k.a.bouton at reading.ac.uk
Wed Jul 27 09:16:43 CDT 2005
How do I detect if minor edit has been selected?
I only want mailposts sent if its not checked as a minor edit
In local/config.php I tried
// mail the fact that pages have been updated is enabled and sent to the
following people
if (isset($diffclass) || $diffclass=='minor') {
$EnableMailPosts =0; # do NOT enable mailposts if it is checked as a
minor edit
} else {
$EnableMailPosts =1; # enable mailposts if it is NOT checked as a
minor edit
}
But that didn't seem to work
Thanks
katherine
More information about the pmwiki-users
mailing list