Comment by dequeued on 29/09/2021 at 20:13 UTC*

93 upvotes, 1 direct replies (showing 1)

View submission: Voting & commenting on archived posts

EDIT: THIS IS A PROPOSAL, IF YOU PUT ANY OF THESE RULES INTO YOUR AUTOMODERATOR, IT WILL NOT WORK.

past_archive_date: true

This would be **far** more useful if this was simply implemented as an "age of post" parameter like:

past_age: 6 months

(Ideally, allowing that parameter to be used on *anything*, not just parent submissions, because looking at activity on old comments and submissions is also useful.)

That would allow it to be used more broadly for spam rules. I've implemented something like that in the /r/personalfinance subreddit bot and it catches a significant amount of spam (i.e., comment spam posted on old submissions) by looking at parent submissions with an age over a few weeks with some expressions to look for phone numbers, links, requests for offline contact, etc.

Here are some example rules:

body (regex): ['[\w-]{1,64}\.([a-z]{2,16}|xn--[a-z0-9-]{1,60})', 'chat', 'contact (me|us)', 'dm', 'pm']
parent_submission:
    past_age: 3 months
action: filter
action_reason: "Possible spam comment on old submission [{{match}}]"

--------------------------------------------------------------------------------

type: comment
body (regex): ['[\w-]{1,64}\.([a-z]{2,16}|xn--[a-z0-9-]{1,60})', 'bonus', 'referral']
is_edited: true
past_age: 4 months
action: report
action_reason: "Possible spam edit on old comment [{{match}}]"

--------------------------------------------------------------------------------

type: submission
body (regex): ['[\w-]{1,64}\.([a-z]{2,16}|xn--[a-z0-9-]{1,60})', 'chat', 'dm', 'pm']
is_edited: true
past_age: 1 month
action: filter
action_reason: "Possible spam edit on old submission [{{match}}]"

Regarding the overall functionality, I like the idea, but I really wish it was possible to disable archiving on specific posts. For example, megathreads are often active for more than 6 months and only get reposted because they get archived, but most threads don't really need to continue being active.

Edit:

Since it's not possible for posts to have a negative age, I renamed the proposed configuration option to be simply `past_age` and took out the `>` part of the syntax.

Replies

Comment by baxter8421 at 29/09/2021 at 20:34 UTC

40 upvotes, 2 direct replies

We actually thought about your suggestion during our internal conversations and while useful we also had to take into consideration the potentially negative implications of it (ex: it would be a negative user experience if comments were removed on, say, posts older than 30 minutes).

The updated flag that we created is a direct response to the behavior of the archive toggle. We also had to gameplan for the future and any potential changes we make to archived posts down the road.