If you've tried to apply a special style to node or comment previews in your theme, you've probably found that the information just isn't there to let you do it. This is unfortunate, because the similarity between a preview and a normal page view makes it easy to lose data when you forget to save after previewing.

I came up with a very simple patch, adding one line each to node.module and comment.module, to allow a theme or theme engine to distinguish previews from ordinary comment or node views. I updated the FriendsLight theme to use this, and it really makes a big usability improvement having previews highlighted so they aren't confused with normal views.

The patch for Drupal CVS is here, along with links to my site where there are screen shots, a live demo of the new FriendsLight, and 4.5.2 patches:

http://drupal.org/node/18845

I hope this proves useful for someone!

(Apologies to anyone who is reading this in addition to my note in the core developer forum, but I figured most theme developers probably don't read that forum regularly.)