jenkins-bot has submitted this change and it was merged.

Change subject: Don't add 'anononly' flag for Abuse filter blocks
......................................................................


Don't add 'anononly' flag for Abuse filter blocks

Bug: T131362
Change-Id: I6421293195d2d86574f8ecda9b467e1fedabc3ba
---
M AbuseFilter.class.php
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Legoktm: Looks good to me, approved
  Luke081515: Looks good to me, but someone else must approve
  jenkins-bot: Verified



diff --git a/AbuseFilter.class.php b/AbuseFilter.class.php
index 7fd453a..727e8d0 100755
--- a/AbuseFilter.class.php
+++ b/AbuseFilter.class.php
@@ -1370,7 +1370,7 @@
                        $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';

-- 
To view, visit https://gerrit.wikimedia.org/r/280682
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I6421293195d2d86574f8ecda9b467e1fedabc3ba
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/AbuseFilter
Gerrit-Branch: master
Gerrit-Owner: Glaisher <[email protected]>
Gerrit-Reviewer: Alex Monk <[email protected]>
Gerrit-Reviewer: Jackmcbarn <[email protected]>
Gerrit-Reviewer: Legoktm <[email protected]>
Gerrit-Reviewer: Luke081515 <[email protected]>
Gerrit-Reviewer: Se4598 <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to