$wgSpamRegex should be checked against the user name and e-mail address on accoutn registration.
Version: unspecified
Severity: enhancement
Subfader | |
Jan 19 2011, 7:58 PM |
F7102: userspam.patch | |
Nov 21 2014, 11:15 PM |
$wgSpamRegex should be checked against the user name and e-mail address on accoutn registration.
Version: unspecified
Severity: enhancement
inside function addNewAccountInternal():
Created attachment 8072
Spam check in user name and email validity checks
Wouldn't it be better to check for spam right in User's checks validity of username and email?
Attached:
wait. I only wanted to block new spam bits with certain e-mail adresses like da.vid.smi.th.999@gmail.com
if you think that's better ok, no idea.
*Bulk BZ Change: +Patch to open bugs with patches attached that are missing the keyword*
sumanah wrote:
Matěj Grabovský, thank you for the patch, and sorry for the wait. I'm adding the "need-review" keyword so that developers know to review your patch. Thanks again.
First part of the patch is fine and applyable (looks fine).
As for the 2nd part, that's moved to the Sanitizer
As it's a function called "validateEmail", I'm dubious about adding random MW specific blocking code in there