CSteipp has uploaded a new change for review.
https://gerrit.wikimedia.org/r/60021
Change subject: Re-add afl_ip=afl_user_text to ip searches
......................................................................
Re-add afl_ip=afl_user_text to ip searches
Having this condition *will break* searching for IPv6 addresses, but
it will allow the db to finish the query for IPv4 addresses quickly.
Reverts one line of Ie331ec7ef3b461ae10f0e28fe50cb86684c6d3a0
bug: 47045
Change-Id: I003a609251cf922939d8c2e49aff025d726ccf78
---
M special/SpecialAbuseLog.php
1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/AbuseFilter
refs/changes/21/60021/1
diff --git a/special/SpecialAbuseLog.php b/special/SpecialAbuseLog.php
index 86ed77a..43e9c11 100644
--- a/special/SpecialAbuseLog.php
+++ b/special/SpecialAbuseLog.php
@@ -210,6 +210,7 @@
$user = User::newFromName( $this->mSearchUser );
if ( !$user ) {
+ $conds[] = 'afl_ip=afl_user_text';
$conds['afl_user'] = 0;
$conds['afl_user_text'] = $this->mSearchUser;
} else {
--
To view, visit https://gerrit.wikimedia.org/r/60021
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I003a609251cf922939d8c2e49aff025d726ccf78
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/AbuseFilter
Gerrit-Branch: master
Gerrit-Owner: CSteipp <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits