55

See How is it possible that a single user who is not a moderator can delete a comment? for more details.
In short, two comments have been probably deleted after a single user flagged them as obsolete because they contained accept or accepting in a sentence.

I found out that, as moderator, I cannot undelete those comments for which the deletion threshold is lowered to 1 flag.

screeshot

Since on Drupal Answers users could ask a question about a module for accepting answers, the word accept could be contained in a comment, even though the comment is not saying anything about the user not accepting answers given to his questions. For example, the comment could be "What is your module supposed to do when you accept your own answer?" or "You can accept your own answer, and the module doesn't consider that possibility!"
In that case, a single user who flags the comment as obsolete would cause the deletion of the comment, even if the comment is not obsolete at all. As moderator, I cannot do anything to reverse that.

Moderators should be able to undelete those comments for which the system decides they can be deleted after being flagged from a single user.

9
  • 5
    I agree. There are a few places where the word "accept" can be used in a non-answer-accepting context.
    – asheeshr
    Commented Sep 11, 2013 at 1:20
  • Can you undelete comments deleted by other moderator? It's also one-user-deletion which is not the comment author. Commented Sep 11, 2013 at 6:46
  • @ShaWizDowArd Yes, I can, as long as the deleted comment is not for a deleted post.
    – avpaderno
    Commented Sep 11, 2013 at 6:48
  • Personally I think this one is a bug then. Commented Sep 11, 2013 at 6:51
  • 14
    yeah; if this deletion was attributed to Community rather than the last flagger, the problem would go away.
    – Shog9
    Commented Sep 11, 2013 at 16:33
  • @Shog9 So you mean, the check to see if moderators are unable to undelete a comment is if the comment's deletion was attributed to a non-mod user? Commented Feb 14, 2019 at 15:01
  • @SonictheIntrovertedHedgehog I guess the code just checks if the user to whom the deletion is attributed is a non-moderator. It should check if the user to whom is attributed the deletion is the user who posted the comment. It's expected that moderators cannot undelete comments deleted by the users who posted them.
    – avpaderno
    Commented Feb 14, 2019 at 16:04
  • Yes, that's exactly what I said. Commented Feb 14, 2019 at 16:17
  • Has anyone on the team picked this up?
    – Mast
    Commented Dec 26, 2019 at 20:50

1 Answer 1

5

There is at least a work around for this. Samliew's ModUserscripts repo has a CommentUndeleter script that should allow mods to restore these sorts of comments. It would obviously be preferable if this was a standard feature, but most mods seem to be pretty receptive to using userscripts on the site.

1
  • 2
    Moderators can undelete any comment as a stock part of the user interface. However, the ability to do so is on the page listing all of a user's comments, not on question pages.
    – Makyen
    Commented Jan 6, 2022 at 19:34

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .