Delay renaming updates by 1 cycle to fight renaming vandalism #7
Labels
No Label
bug
code-quality
documentation
duplicate
enhancement
feature
flair
invalid
on-hold
release
third-party bug
tooling
wontfix
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: tools/death-notifier#7
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Recently, someone renamed the "Joe Biden" article to "Stolen election". Death Notifier picked up on this and renamed "Joe Biden" to "Stolen election" as well. Unfortunately, when an editor undid the renaming vandalism, Death Notifier did not undo the renaming.
I added a feature to Death Notifier where, when an article is deleted, Death Notifier finds out if another article was recently renamed to the now-deleted article, and if so, renames the now-deleted article to the old name. This worked fine when "Ben Shapiro" was moved to "MILK FART", so why did it not work this time? Because Wikipedia editors decided to remove this vandalism from the logs, so Death Notifier couldn't find out that vandalism had occurred.
It looks like the editors took about 5 minutes to undo the vandalism, and then probably a minute to remove it from the logs. I don't think there is any systematic way for Death Notifier to detect an undo of a renaming, so the only way to handle this is probably to, once a move is detected, wait one more cycle (= 5 minutes), see if the renaming is still there, and if so, actually do the renaming.
This is not fool-proof; what if it takes editors 11 minutes to figure out vandalism, and then they remove it from the logs? Or if it takes 16 minutes? I have to trade off accuracy and speed here, and I think setting it waiting 1 cycle is sufficient for most cases.
Additionally, I should consider:
Delay renaming updates by 1 cycleto Delay renaming updates by 1 cycle to fight renaming vandalism