Last modified: 2010-05-15 15:29:41 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T2023, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 23 - SpamRegex-notice
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2004-08-14 05:42 UTC by Timwi
Modified: 2010-05-15 15:29 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description Timwi 2004-08-14 05:42:33 UTC
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.
Comment 1 Antoine "hashar" Musso (WMF) 2005-01-06 00:50:35 UTC
Fixed in at least 1.4
Comment 2 Antoine "hashar" Musso (WMF) 2005-01-06 00:51:11 UTC
Leaving it open since it s not in stable 1.3
Comment 3 Brion Vibber 2005-01-07 00:48:19 UTC
1.3 is in maintenance, already fixed in 1.4. Resolving fixed.
Comment 4 River Tarnell 2005-05-22 17:22:31 UTC

Note You need to log in before you can comment on or make changes to this bug.