Extension:StopForumSpam

From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manualManual:Extensions
Crystal Clear action run.png
StopForumSpam

Release status:Extension status stable

ImplementationTemplate:Extension#type Page action
DescriptionTemplate:Extension#description Uses stopforumspam.com to prevent spam
Author(s)Template:Extension#username Legoktm, Skizzerz
Latest versionTemplate:Extension#version 0.2.0 (2014-04-02; 3 years ago (2014-04-02))
MediaWikiTemplate:Extension#mediawiki 1.23+
Database changesTemplate:Extension#needs-updatephp No
LicenseTemplate:Extension#license GPL v2+
Download
ParametersTemplate:Extension#parameters
  • $wgSFSAPIKey
  • $wgSFSIPListLocation
Added rightsTemplate:Extension#rights
  • stopforumspam
  • sfsblock-bypass
Hooks usedTemplate:Extension#hook
SpecialPageBeforeFormDisplayManual:Hooks/SpecialPageBeforeFormDisplay
BlockIpCompleteManual:Hooks/BlockIpComplete

Translate the StopForumSpam extension if it is available at translatewiki.net

Check usage and version matrix.

IssuesPhabricator

Open tasks · Report a bug

The StopForumSpam extension allows wikis to utilize and contribute data to stopforumspam.com. It features automatic IP blocking, confidence variables, and an easy interface for administrators to submit data. Use of the IP blacklist requires that you use some kind of object caching; it won't work if you have $wgMainCacheType set to CACHE_NONE.

Installation[edit]

  • Download and place the file(s) in a directory called StopForumSpam in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    require_once "$IP/extensions/StopForumSpam/StopForumSpam.php";
    
  • YesY Done - Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Configuration parameters[edit]

User rights[edit]

  • stopforumspam - allows users to optionally submit data. Useless without "block" right.
  • sfsblock-bypass - allows users to bypass blacklisted IP blocks

Submitting data[edit]

When blocking a user, a checkbox will appear to submit the user's data. Data will only be submitted if the user is logged in, has an email address set, and has an IP address stored. This feature requires either $wgPutIPinRC to be enabled, or the CheckUser extension installed.

Confidence level[edit]

When using the AbuseFilter, a variable named "sfs_confidence" is added. The value is a float between 0 and 1, where 0 is that they are not a spammer, and 1 means 100% they are a spammer.

IP blocking[edit]

You can download IP blacklists, and import them using the updateBlacklist.php script. If that IP tries to edit, or a user tries to edit through that IP address, they will be prevented from editing. To exempt a user from being blocked, give them the sfsblock-bypass userright. This feature requires object caching to be setup.