On Wed, May 03, 2006 at 12:13:54AM +0200, Tels wrote:
You're
overwriting the value of the variable each time, so the last is
the only one which takes effect. Try something like
$wgSpamRegex = '/(display\s*:\s*none|overflow\s*:\s*auto)/';
We need a FAQ
entry for that one _fast_.
What about allowing this to be an array? For many people this will be
easier than writing a complicated regex that combines all the patterns
they want to match.
Tony