Extension:SpamDiffTool

From mediawiki.org
Jump to navigation Jump to search
This page is a translated version of the page Extension:SpamDiffTool and the translation is 36% complete.
Other languages:
English • ‎Türkçe • ‎svenska • ‎العربية • ‎日本語
MediaWiki 拡張機能マニュアル
OOjs UI icon advanced.svg
SpamDiffTool
リリースの状態: 安定
SpamDiffTool Screenshot.png
実装 利用者アクティビティ , ページの操作
説明 Allows privileged users to add entries to the spam blacklist right off of a diff page
作者
最新バージョン 1.6
MediaWiki 1.35+
ライセンス GNU 一般公衆利用許諾書 2.0 以降
ダウンロード
  • $wgSpamBlacklistArticle
translatewiki.net で翻訳を利用できる場合は、SpamDiffTool 拡張機能の翻訳にご協力ください

使用状況とバージョン マトリクスを確認してください。

The SpamDiffTool extension allows users to add URLs to the SpamBlacklist extension easily without learning how to format entries for the blacklist and copy and paste, etc.

By inserting a link on each diff page, if an editor sees that a given page has been the victim of spam, they can click on "add to spam", which extracts all of the URLs the spammer has placed on the page, going back over their most recent edits on the article (similar to Rollback). Then, for each URL detected, the tool prompts the user the degree to which they want to blacklist the URL. The options are block:

  1. all links from the domain
  2. all links from the specific subdomain
  3. all links from the subdirectory and subdomain
  4. nothing - don't add this to the blacklist

The idea is to try to streamline the process of cleaning up spam, rolling back spam edits and blocking users. When the spam addition process is finished, the user is taken back to the diff page they were on to begin with. From there, they can rollback the edits as required.

This extension was tested with MediaWiki 1.35. You must have the SpamBlacklist extension already installed for this extension to do anything, because this is merely a more graphical, easier-to-use front-end for the functionality provided by SpamBlacklist.

インストール

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

設定

To specify which article you use as a spam block list, change the $wgSpamBlacklistArticle variable in your wiki's LocalSettings.php. The default is to use the page called Project:Spam Blacklist.

Bugs and enhancements

Bugs or feature requests can be sent via Phabricator. There is a good chance the regular expressions are not 100% perfect.

関連項目