Now when we revert a node Drupal set automatically the revision log message.

   $node_revision->log = t('Copy of the revision from %date.', array('%date' => format_date($node_revision->revision_timestamp)));
 

But I think it would be nice if the user can set they own message. So they can explain "why" they revert the node.

It's out of the scoop of this module?

Comments

mdupont’s picture

The goal of this module is to keep track of node modifications through revision log message, so it falls in the scope. I'll look into it.

mdupont’s picture

Assigned: Unassigned » mdupont
mdupont’s picture

Status: Active » Needs review

First implementation committed to CVS HEAD. Basically I overload revision deletion form submit function to store a custom log message. Please test.

gagarine’s picture

Look nice I will try it soon. Thanks

mdupont’s picture

Status: Needs review » Fixed

Released in 6.x-1.0-beta3

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.