Extension:StopForumSpam

This page is a translated version of the page Extension:StopForumSpam and the translation is 12% complete.
Other languages:
English • ‎中文 • ‎日本語
MediaWiki 拡張機能マニュアル
OOjs UI icon advanced.svg
StopForumSpam
リリースの状態: 安定
実装 ページの操作
説明 Uses stopforumspam.com to prevent spam
作者
最新バージョン 0.3.0 (2019-02-07)
MediaWiki 1.29+
データベースの変更 いいえ
ライセンス GNU 一般公衆利用許諾書 2.0 以降
ダウンロード

  • $wgSFSIPListLocation
  • $wgSFSReportOnly
  • $wgSFSValidateIPList
  • $wgSFSEnableDeferredUpdates
  • $wgSFSIPThreshold
  • $wgSFSBlacklistCacheDuration

  • stopforumspam
  • sfsblock-bypass
translatewiki.net で翻訳を利用できる場合は、StopForumSpam 拡張機能の翻訳にご協力ください
使用状況とバージョン マトリクスを確認してください。
問題点 未解決のタスク · バグを報告

The StopForumSpam extension allows wikis to utilize and contribute data to stopforumspam.com. It features automatic IP blocking 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. If neither APC or Memcached is an option, the simplest approach is to fallback to storing the object cache in your MySQL database. The following preset (in LocalSettings.php) will do that: $wgMainCacheType = CACHE_DB;

インストール

  • ダウンロードして、ファイルを extensions/ フォルダー内の StopForumSpam という名前のディレクトリ内に配置します。
  • 以下のコードを LocalSettings.php の末尾に追加します:
    wfLoadExtension( 'StopForumSpam' );
    
  • Configure as required.
  •   完了 – ウィキの「Special:Version」に移動して、拡張機能が正しくインストールされたことを確認します。

Configuration

  • $wgSFSIPListLocation - location of an unzipped IP address blacklist
  • $wgSFSReportOnly - enables a mode where users are not blocked from non-read actions after tripping the blacklist

利用者権限

  • sfsblock-bypass - allows users to bypass blacklisted IP blocks

AbuseFilter integration

When using the AbuseFilter , a variable named "sfs_blocked" is added. The value is false if the user is not a spammer, and true if they are a spammer.

IP blocking

You can download IP blacklists, and import them using the maintenance/updateBlacklist.php script. StopForumSpam has several lists; we recommend using the "listed_ip_30_all" list. Once you choose the list you want, download and extract it to somewhere on your server, then point $wgSFSIPListLocation in the LocalSettings.php file at it. We recommend setting up a nightly cron job to download and extract new versions of the list and subsequently running the updateBlacklist maintenance 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 user right.