Since recently moderators can see a list of deleted comments. There should be a possibility to undelete these comments as well, at least for a certain period of time. Sometimes moderators delete the wrong comment by accident and then can't do much about it.
This is now implemented.
On a Question/Show page (not the mod dashboard), moderators can now quickly delete a comment without getting a prompt. After deletion, the standard "deleted content" styles will show the just-deleted comment, along with the "undelete" link.
Also, the "X deleted comments" right side-bar quick link will now load deleted comments inline, allowing for undeletion (in certain cases):
We're discussing if this functionality needs to be in the mod dashboard.
There are lots of problems with the current method of deleting comments. Our choices are:
I'll give you a guess as to which one I do more often, especially faced with hundreds of flags in the moderator queue, and a limited amount of time per day to moderate.
We need a better method of deleting comments. Whether that's being able to select a large swath of comments at once (click and drag?), or to nuke all comments and then selectively undelete the ones that could stay, I don't know. What I do know is that the current method is unsustainable if the argument is that some comments should stick around.
If your comment:
then it will stay around... for a while. In the long run, all comments are eventually useless, so don't expect to put good information into a comment, it should be in an answer.
Stack Overflow is not a place for extended discussion, that's why we have chat. If you want to have a discussion, take it there, or take it to meta as appropriate.
If a comment is accidentally deleted, it's no big deal.
If you accidentally delete one, delete them all and let them start it over in chat. Roll up any comments that clarify the post into the main body of said post.
Comments are no big deal and should not be treated like real posts.
Nothing important should be left in comments in the first place.
First off, why do moderators have the power to delete comments in the first place? While questioning the moderator George Stocker on his answer my comments were deleted. In fact, everyone's comments were deleted.
Moderators should not be able to "undelete" a comment deleted by the user. What happens if someone said something stupid, realized their mistake, and deleted it? I wouldn't want some "all powerful" moderator to delete comments which after further thought, I realized were wrong.
On the other hand, while mods are allowed to delete comments, they should be allowed to undelete, with with certain conditions.
Lastly, why is the commenter not allowed to undelete their own comments? They were the one who said it in the first place...