Author: timwi
Description:
BUG MIGRATED FROM SOURCEFORGE
http://sourceforge.net/tracker/index.php?func=detail&aid=1007872&group_id=34373&atid=411192
Originally submitted by Arne Klempert (klempert) 2004-08-12 12:28
The notice shown after editing an article that matches
the SpamRegex says: "You might want to check the
following regular expression for patterns that are
currently blocked:" (no link or RegEx).
Occurred on [[:de:Mongolei]]
- Additional comments (in reverse order) ----
Date: 2004-08-12 21:37
Sender: SF user timwi
I have removed the "You might want to check the
following regular expression for patterns that are
currently blocked:" portion. You might want to do the same
on the German Wikipedia at [[de:MediaWiki:spamprotectiontext]].
Date: 2004-08-12 22:08
Sender: SF user jeronim
There is still no way for the user to tell why they are
triggering the spam filter. Reopening.
Date: 2004-08-12 23:57
Sender: SF user hashar
I don't think we should output the whole regex. Maybe just
giving the part of the regex that matched should be enough
? Not sure if that's possible though :(
Date: 2004-08-13 10:49
Sender: SF user klempert
A simple preg_replace() should be able to extract the
matching text from the article. If there are any reasons not
to do this, at least sysops should be able to view the regex.
Date: 2004-08-13 22:57
Sender: SF user klempert
fixed in cvs: timwi * phase3/ (includes/EditPage.php
languages/Language.php): Display the text the spam regexp
matched. Patch by akl.
Date: 2004-08-13 22:57
Sender: SF user timwi
Patch committed thanks to akl. Message now displays the
matched text.
Date: 2004-08-13 23:01
Sender: SF user vibber
Fix not yet applied to 1.3 or live site. Re-opening.
Version: 1.3.x
Severity: normal