r97802 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r97801‎ | r97802 | r97803 >
Date:07:30, 22 September 2011
Author:aaron
Status:ok
Tags:
Comment:
disabled wfDebugLog() call; UDP packets were way too large
Modified paths:
  • /branches/wmf/1.18wmf1/extensions/SpamBlacklist/SpamBlacklist_body.php (modified) (history)

Diff [purge]

Index: branches/wmf/1.18wmf1/extensions/SpamBlacklist/SpamBlacklist_body.php
@@ -238,8 +238,9 @@
239239 }
240240
241241 # Do the match
242 - wfDebugLog( 'SpamBlacklist', "Checking text against " . count( $blacklists ) .
243 - " regexes: " . implode( ', ', $blacklists ) . "\n" );
 242+ # Disabled, causes UDP errors --aaron 9/22/11
 243+ #wfDebugLog( 'SpamBlacklist', "Checking text against " . count( $blacklists ) .
 244+ # " regexes: " . implode( ', ', $blacklists ) . "\n" );
244245 $retVal = false;
245246 foreach( $blacklists as $regex ) {
246247 wfSuppressWarnings();
@@ -525,4 +526,3 @@
526527 }
527528 }
528529 }
529 -

Status & tagging log