Index: trunk/extensions/SpamBlacklist/SpamBlacklist_body.php |
— | — | @@ -215,7 +215,9 @@ |
216 | 216 | wfDebug( "Excluding whitelisted URLs from " . count( $whitelists ) . |
217 | 217 | " regexes: " . implode( ', ', $whitelists ) . "\n" ); |
218 | 218 | foreach( $whitelists as $regex ) { |
| 219 | + wfSuppressWarnings(); |
219 | 220 | $links = preg_replace( $regex, '', $links ); |
| 221 | + wfRestoreWarnings(); |
220 | 222 | } |
221 | 223 | } |
222 | 224 | |