Page MenuHomePhabricator

Closed, ResolvedPublic


Author: timwi

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



Revisions and Commits

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 6:44 PM
bzimport set Reference to bz23.
bzimport added a subscriber: Unknown Object (MLST).

Leaving it open since it s not in stable 1.3

1.3 is in maintenance, already fixed in 1.4. Resolving fixed.

Diffusion added a commit: Unknown Object (Diffusion Commit).Mar 4 2015, 8:14 AM