r24674 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r24673‎ | r24674 | r24675 >
Date:15:42, 8 August 2007
Author:brion
Status:old
Tags:
Comment:
suppress warnings
Modified paths:
  • /trunk/extensions/SpamBlacklist/SpamBlacklist_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SpamBlacklist/SpamBlacklist_body.php
@@ -215,7 +215,9 @@
216216 wfDebug( "Excluding whitelisted URLs from " . count( $whitelists ) .
217217 " regexes: " . implode( ', ', $whitelists ) . "\n" );
218218 foreach( $whitelists as $regex ) {
 219+ wfSuppressWarnings();
219220 $links = preg_replace( $regex, '', $links );
 221+ wfRestoreWarnings();
220222 }
221223 }
222224

Status & tagging log