https://bugzilla.wikimedia.org/show_bug.cgi?id=64541

--- Comment #3 from Liangent <liang...@gmail.com> ---
(In reply to billinghurst from comment #2)
> The regex suggested while functional for a regex is unsuccessful in
> preventing addition of the link. [Tested by two people on two different
> wikis with linked being added]. So back to square one.
> 
> So we are back to the situation that the spam blacklist is not completely
> functional for regex to prevent addition of just t.co
> 
> ^t\.co\b           FAIL
> (?<!-)\bt\.co\b    FAIL

In my test, [[MediaWiki:Spam-blacklist]]:

 #<pre>
google
(?<!-)\bt\.co\b
baidu
 #</pre>

Link:

http://t.co/abc

and it says:

The following text is what triggered our spam filter: t.co

... so it works for me?

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to