Index: trunk/extensions/SpamBlacklist/SpamBlacklist_body.php |
— | — | @@ -11,7 +11,7 @@ |
12 | 12 | var $warningTime = 600; |
13 | 13 | var $expiryTime = 900; |
14 | 14 | var $warningChance = 100; |
15 | | - var $ignoreEditSummary = false; |
| 15 | + var $ignoreEditSummary = false; |
16 | 16 | |
17 | 17 | function __construct( $settings = array() ) { |
18 | 18 | foreach ( $settings as $name => $value ) { |
— | — | @@ -408,7 +408,7 @@ |
409 | 409 | $build = $line; |
410 | 410 | } elseif( strlen( $build ) + strlen( $line ) > $batchSize ) { |
411 | 411 | $regexes[] = $regexStart . |
412 | | - str_replace( '/', '\/', preg_replace('|\\\*/|', '/', $build) ) . |
| 412 | + str_replace( '/', '\/', preg_replace('|\\\*/|u', '/', $build) ) . |
413 | 413 | $regexEnd; |
414 | 414 | $build = $line; |
415 | 415 | } else { |
— | — | @@ -418,7 +418,7 @@ |
419 | 419 | } |
420 | 420 | if( $build !== false ) { |
421 | 421 | $regexes[] = $regexStart . |
422 | | - str_replace( '/', '\/', preg_replace('|\\\*/|', '/', $build) ) . |
| 422 | + str_replace( '/', '\/', preg_replace('|\\\*/|u', '/', $build) ) . |
423 | 423 | $regexEnd; |
424 | 424 | } |
425 | 425 | return $regexes; |