mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-27 23:40:19 +00:00
Don't add 'anononly' flag for Abuse filter blocks
Bug: T131362 Change-Id: I6421293195d2d86574f8ecda9b467e1fedabc3ba
This commit is contained in:
parent
0c40e76a3e
commit
bbd3574731
|
@ -1370,7 +1370,7 @@ class AbuseFilter {
|
|||
$logParams['5::duration'] = ( $block->mExpiry === 'infinity' )
|
||||
? 'indefinite'
|
||||
: $expiry;
|
||||
$flags = array( 'anononly' , 'nocreate' );
|
||||
$flags = array( 'nocreate' );
|
||||
if ( !$block->isAutoblocking() && !IP::isIPAddress( $target ) ) {
|
||||
// Conditionally added same as SpecialBlock
|
||||
$flags[] = 'noautoblock';
|
||||
|
|
Loading…
Reference in a new issue