in reply to Making edit histories more viewable

All looks good, thanks.

Only thing that bothers me is showing the edithistory link even when there is none; I have a preference toward avoiding giving links to pages that turn up empty of detail (or forbidden). AM obviously shouldn't see the link, and it shouldn't show for non-editable nodetypes. Don't know if it is worth a db query to catch cases of no data, or if there is a way to make it determinable from the node itself.

  • Comment on Re: Making edit histories more viewable

Replies are listed 'Best First'.
Re^2: Making edit histories more viewable
by castaway (Parson) on Feb 27, 2005 at 08:27 UTC
    I can prevent AM from seeing it, but as you say, I'm not sure its worth the extra effort of a DB query, just to check the presence. (Although it should be a fairly succint one: select count(*) from edithistory where edithistory_id=getId($NODE), and check for >1 ..

    C.