Page MenuHomePhabricator

Warn the user if an edit marked as minor doesn't seem to be minor
Closed, DeclinedPublic

Description

Sometimes users mark as "minor" edits that shouldn't be marked this way. This happens especially often with users who have "Mark all edits minor by default" turned on in their preferences.

This cannot be detected automatically, but a certain automatic sanity check is possible. For example, a large number of changed characters, or a change of more than X bytes in the page size. (X can be 100 bytes, but the statisticians in the crowd should decide about the default number, and this should be configurable, too.) In such a case the software should warn the user - "Are you sure you want to mark this edit as minor?".

This warning can be similar to "Prompt me when entering a blank edit summary".

Related: Bug 24313.


Version: unspecified
Severity: enhancement

Details

Reference
bz26636

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 21 2014, 11:16 PM
bzimport added a project: AbuseFilter.
bzimport set Reference to bz26636.

Can't this be done with AbuseFilter?

Dunno, I think so?

Certainly doesn't belong in core.

Not going to be implemented in core. You can implement it with an edit filter, if you like.

I changed to AbuseFilter, reopening.

(In reply to comment #4)

I changed to AbuseFilter, reopening.

I don't understand. This is not a bug or enhancement request relating to AbuseFilter. It's an enhancement that will not be implemented in core, but the behaviour could possibly be replicated by creating an edit filter using the AbuseFilter extension.

(In reply to comment #5)

I don't understand. This is not a bug or enhancement request relating to
AbuseFilter. It's an enhancement that will not be implemented in core, but the
behaviour could possibly be replicated by creating an edit filter using the
AbuseFilter extension.

I'm not familiar with AbuseFilter, so perhaps you are right. If AbuseFilter is meant to be set up by each user and doesn't come with a default list of filters, then, yes, this is obviously not relevant to AbuseFilter.

However, my thought was that since this is marked "enhancement" and AbuseFilter (I am assuming) comes with some filters, then this an acceptable assignment.

(Now, I need to go read up on AbuseFilter.)

Edit filters are written entirely by the communities running the extension.