Extension:SpamRegex/zh

This page is a translated version of the page Extension:SpamRegex and the translation is 0% complete.
MediaWiki扩展手冊
OOjs UI icon advanced-invert.svg
SpamRegex
發布狀態: 穩定版本
Special.spamregex.png
实现 特殊页面
描述 Adds a special page to filter out unwanted expressions.
作者
最新版本 1.7.0 (2020-03-10)
MediaWiki 1.39+
数据库更改
许可协议 GNU通用公眾授權條款2.0或更新版本
下載
翻譯SpamRegex扩展,若在translatewiki.net可用
問題 尚未完成的工作 · 报告錯誤

The SpamRegex extension creates a new page, "Special:SpamRegex", to filter out unwanted links or text. A full list of currently blocked links or text can be viewed on this same special page. The spamregexed expressions cannot be used in page content, edit summaries or page move summaries, depending on what was chosen by the user who blocked links or text.

Installation

  • 下载文件,并将其放置在您extensions/文件夹中的SpamRegex目录内。
  • 将下列代码放置在您的LocalSettings.php 的底部:
    wfLoadExtension( 'SpamRegex' );
    
  • 运行更新脚本,它将自动创建此扩展必须依赖的数据库表。
  • This extension uses Memcached - please check if Memcached is configured properly in Global/LocalSettings.php .
  • Ensure the spamregex user right is given to a group that exists; by default this user right is given to the staff user group (which does not exist in a default MediaWiki installation).
  • Yes 完成 – 在您的wiki上导航至Special:Version,以验证已成功安装扩展。


Usage

  1. Go to "Special:SpamRegex"
  1. Enter the phrase to be blocked into the "Phrase to block" box
  1. Supply a reason for blocking the phrase
  1. Select one or both of the available options: block phrase in page text & block phrase in summary (edit summaries, page move summaries)
  1. Press the "Block this phrase" button

See also