Page MenuHomePhabricator

Salvaging edits from the AbuseFilter
Open, Needs TriagePublic

Description

Would it be possible to implement an easy way to salvage edits from the AbuseFilter via AbuseLog?

Example:
Fiwiki abuse filter 38 blocked this edit :
https://fi.wikipedia.org/wiki/Special:AbuseLog/536341

Then that edit was added to the article by different user:
https://fi.wikipedia.org/w/index.php?title=Demoni&diff=prev&oldid=17785328
He then corrected the attribution:
https://fi.wikipedia.org/w/index.php?title=Demoni&diff=next&oldid=17785328

If AbuseFilter allowed admins to approve proper edits (via AbuseLog) that were stuck this way, so that those edits would be incorporated into the article in question with proper attribution (and the edit count of the original editor would get affected), that would be superb indeed.

Event Timeline

It'd be great, but I think it won't be too easy to implement. I'm almost sure there's another bug in the AbuseFilter workboard asking for the same thing, and hopefully with some more discussion, but unfortunately I cannot find it right now.

I could finally find it :-) I'm keeping this task open because it's fresh. Still, I find this pretty hard to implement. Probably, we'll also want some limitations applied, too. For instance, it wouldn't be good to restore an edit which was disallowed months ago: a feature like this will make users save revisions using other people's accounts. At the very least, I think we should limit it to edits disallowed in the last 24 hours, and maybe add this as a sub-feature of Special:AbuseFilter/revert. Either a new subpage, or add checkboxes to listed edits so that people could choose if they also want to restore the edit itself for the selected entries (in addition to e.g. unblock the user). We should also take some precautions, like to avoid re-triggering abuse filters and properly fail if there's an edit conflict.

See also https://en.wikipedia.org/wiki/User:Suffusion_of_Yellow/effp-helper - until its implimented, this script can be used to retrieve the information from abuse logs and make the edit from your own account.