Last modified: 2008-05-15 21:25:51 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 T16141, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 14141 - string "overflow:auto; height:" is recognized as spam
string "overflow:auto; height:" is recognized as spam
Status: RESOLVED INVALID
Product: Wikimedia
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
: shell
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-05-15 16:50 UTC by seth
Modified: 2008-05-15 21:25 UTC (History)
1 user (show)

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


Attachments

Description seth 2008-05-15 16:50:50 UTC
background:
2007-08-25 there was reported a strange behaviour of the spamfilter.[http://de.wikipedia.org/wiki/MediaWiki_Diskussion:Spam-blacklist#Bug.3F] So this bug is _not_ caused by the latest spam blacklist bugfix.

bug:
if one uses the string "overflow:auto; height:" _anywhere_, e.g. in <pre style="overflow:auto; height:4em;"></pre> or just as plaintext, it will be catched by the spamfilter. i tested that in meta and de.

notes:
i'm not sure, whether this is a sbl-bug or a mediawiki-bug. perhaps the link-preparsing "getExternalLinks" is somehow bugged?
Comment 1 Aryeh Gregor (not reading bugmail, please e-mail directly) 2008-05-15 16:53:31 UTC
Can you confirm that this string is not in fact blacklisted?  This isn't really a bug at all if it matches a blacklist entry.  In that case, change the blacklist.
Comment 2 Jack Phoenix 2008-05-15 16:56:07 UTC
This doesn't really look like a bug, and even if it is, it's not with
SpamBlacklist. Have a look at Wikimedia's InitialiseSettings.php
<http://noc.wikimedia.org/conf/InitialiseSettings.php.html>. $wgSpamRegex is
set to
'/overflow\s*:\s*auto\s*;\s*height\s*:|<div[^>]*font-size[^>]*font-color:\s*transparent[^>]*>/i'
by default, which would most likely explain why the spam filter catches it.
Comment 3 Aryeh Gregor (not reading bugmail, please e-mail directly) 2008-05-15 17:10:28 UTC
This is a Wikimedia config issue, not an issue with the extension.  Probably this is to stop spammers who create giant invisible divs that are links to somewhere.  Note that the regex is fragile (height: x; overflow: auto; works).  And "font-color" is a little weird, since that's not a valid CSS property.
Comment 4 seth 2008-05-15 17:12:59 UTC
ok, so it's not a bug in wikimedia, but a problem of of the spam protection text in de.wikipedia.org.
thx for quick answers and sorry for my mistake.
Comment 5 Brion Vibber 2008-05-15 21:25:51 UTC
Not a bug, this was added to the blacklist config a couple years ago due to a spambot using that particular formulation over and over and over and over...

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


Navigation
Links