Page MenuHomePhabricator

Allow "autoconfirmed" status to depend upon edit count, as well as account age
Closed, ResolvedPublic

Description

Author: rotemliss

Description:
Now that user edit count is tracked in user.user_editcount, it's possible to add
an optional limitation for autoconfirmed users, using the variable
$wgAutoConfirmEdits (defaults to 0).


Version: 1.9.x
Severity: enhancement

Details

Reference
bz8391

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:33 PM
bzimport set Reference to bz8391.

rotemliss wrote:

Patch

attachment patch ignored as obsolete

rotemliss wrote:

Patch

Setting $this->mEditcount to 0 in User::loadDefaults.

Attached:

A potential issue with this is that when using memcached, cached User objects
will not
necessarily receive the updated edit count after each edit. Doing a cache-clear on
the edit count incrementer probably would fix this.

robchur wrote:

Werdna has apparently added this in r19376.