Based on the feature requests/UI feedback I've been hearing, it appears more and more we need to override Drupal's default node/$nid/revisions tab. This would allow us to do things like add additional information about the revision, such as the vid, or adding a little preview snippet, or an edit link, etc.

This can be done by creating a new menu item that goes to node/$nid/revisions and declares a different callback. Because revision_moderation comes after node in the list of modules, its menu item would override node module's.

Most of the code for this would have to be copied/pasted from node_revision, node_revision_overview, etc. So it's kind of klunky in that respect. But it would work, and give us a lot more control over what was in this tab.

Comments

toemaz’s picture

Be careful when going ahead with this. It might conflict with the new stable 4.7 release of the diff module which is just committed by dww. This diff module also enhances the revisions page.

toemaz’s picture

I opened an issue http://drupal.org/node/116798 for changing the core code so it can help the revision_moderation module for future enhancements.

webchick’s picture

Status: Active » Closed (won't fix)

Yeah, i'm going to won't fix this I think. I don't want to conflict with diff module.