Page MenuHomePhabricator

FlaggedRevs: Make null-edits optional
Open, Needs TriagePublic

Description

Finnish Wikipedia is currently testing a bot which stabilizes pages when edit is detected as harmful using ORES or AbuseFilter with a 24 hour stabilization. Currently when page is stabilized the system will duplicate the stabilization log comment to the page history using null-edit. However a side effect of this is that when the page is vandalized there will be at least three edits in the page history: 1.) vandalism itself, 2.) stabilization of the page 3.) and the revert. Second problem about null-edits are that they will "break" rollback feature because rollback will revert the null-edit not vandalism before that.

Proposed solution in gerrit:361894 to fix this is to make null-edits optional. To perform stabilization without null-edit the user must have "silentstable" rights and set the "silent" option to true using api or using the checkbox in the user interface.

Links:

Details

Related Gerrit Patches:
mediawiki/extensions/FlaggedRevs : masterMake null-edits optional