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

       Web browser: ---
            Bug ID: 48491
           Summary: Deprecate the use of wgSpamRegex in
                    InitialiseSettings.php in favor of AbuseFilter filters
           Product: Wikimedia
           Version: wmf-deployment
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Site requests
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---

From <https://noc.wikimedia.org/conf/InitialiseSettings.php.txt>:

---
'wgSpamRegex' => array(
    # added dvd thingy against many spamming idiots 2007-05-02 river
    # Removed, 2007-05-15 -- TS
    'default' => array(
       
'/overflow\s*:\s*auto\s*;\s*height\s*:|<div[^>]*font-size[^>]*font-color:\s*transparent[^>]*>/i',
        '/avril\.on\.nimp\.org/i', //
http://en.wikipedia.org/wiki/Special:Contributions/Hochitup
        '/\.on\.nimp\.org/i', // per MrZ-man 2008-11-02 -- brion
        // bug 15063, these won't last:
        '/<TR>(<TD
BGCOLOR=["\']?#......["\']?>(\.|We|are|Anonymous|)+<\/TD>){20,}<\/TR>/i',
        '/<table>.+?(<td bgcolor.+?){400,}.+?<\/table>/i',
        // Weird thingy
http://en.wikipedia.org/w/index.php?title=Hellboy:_Sword_of_Storms&oldid=245477898&diff=prev
        '/<span onmouseover="_tipon/',
        // Reported on id.wikipedia.org 2008-12-17 Tim
        '/FIELD_MESSAGE_/',
        // Plaintext link spam
https://bugzilla.wikimedia.org/show_bug.cgi?id=16597
        '/[ww]{3}[\..][aAa][nn][oo]n[tT][aa][ll][kk][\..][cc][oo][mm]/ui',
    ),
    # Multiple requests on IRC -- TS 2006-07-11
    'commonswiki' =>
'/overflow\s*:\s*auto\s*;\s*height\s*:|kryptonazi|freizeit-diktator/i',
    # yoniDeBest on IRC -- TS 2007-04-16
    # removed upon yoni's request 'hewiki' => '/kazach/i',
),
---

It looks like we now log SpamRegex hits. A shell user should take a look at
those at some point and figure out whether we still need all of these rules,
particularly now that we have AbuseFilter (locally and globally), which has
on-wiki logging and controls.

-- 
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to