维基百科:防滥用过滤器
防滥用过滤器管理 介绍 · 讨论 · 列表 · 如何建立过滤器 · 请求建立或修改过滤器 · 报告过滤器判定错误 |
防滥用过滤器是一个可以针对所有最近编辑动作进行自动化判断的软件系统。管理员可以针对特定的用户行为设定过滤器,过滤器被触发时可进行特定的操作。
Werdna开发了防滥用过滤器。中文维基百科于2009年4月安装了防滥用过滤器并正式投入使用。
通过编辑条件代码,本扩展可以针对所有的编辑进行自动化判定。例如“禁止非自动确认用户清空页面”。当然,高级代码所编写的过滤器可以更为复杂,例如英文维基百科的过滤器可以成功阻止超过70%的页面移动破坏。
用戶可以查看所有公开过滤器的詳情及觸發紀錄,而隐藏过滤器則只对於管理員与过滤器助理开放。[1]
说明文档
以下是对于防滥用过滤器部分功能的非正式说明,由于扩展仍然在开发阶段,本说明文档可能会过时并需要更新。
可以针对哪些条件进行过滤
通过相关的代码,过滤器可以针对下列所有项目进行代数运算、逻辑判定、匹配正则表达式等。
用户
- 编辑次数
- 注册时间
- 用户群组
- 电子邮件确认情况
页面
- 命名空间
- 标题
- 全文
- 页面保护情况
操作
- 摘要(包括编辑摘要、移动摘要等)
- 编辑更改的内容
- 操作类型(包括编辑、移动、新建等)
操作频率
- 可以限定某一账户、IP、/16广域IP、或某一日期创建的账户进行某一操作的频率,也可以限定对特定页面进行某一操作的频率。
- 以上的任何条件均可以混合使用。例如,我们可以针对所有在同一天,同一个/16IP范围创建的账户进行操作频率限制。
- 过滤器只有在被触发一定次数后才会进行任何操作。这一功能可以降低错误报告的几率。
过滤器被触发后可以做什么
当过滤器被触发时,管理员可以设定如下操作(大致根据行为的严重程度从轻到重排序):
- 所有触发过滤器的行为均会被记录在特殊页面的日志中。(强制,无法取消)
- 给用户的操作加上标签,以便进一步的核查。
- 用户收到警告讯息。
- 用户的操作被阻止。
- 用户的自动确认状态被随机取消5天[2]。
- 封鎖使用者帳號或IP地址(可分別指定期限)。[3]
用户的所有用户群组被移除(例如机器人、管理员、回退员等)。(本地未啟用)
在安装扩展时,可以有针对性地禁用特定的操作。
监视
![](http://178.128.105.246/cars-http-upload.wikimedia.org/wikipedia/commons/thumb/e/e0/AbuseLog-Sample.png/220px-AbuseLog-Sample.png)
每一次过滤器被触发时,均会在Special:AbuseLog进行记录。拥有权限的用户可以查看日志项的摘要;具有更高权限的用户则可以查看日志的细节内容;拥有最高权限的用户则可以查看非公开的数据(例如触发过滤器用户的IP)。右图是一个日志项的细节样例。
权限
以下权限由防滥用过滤器产生,大致按照权限由高到低的顺序排列。
- 查看滥用过滤器非公开详情访问日志(
abusefilter-privatedetails-log
) - 修改包含受限动作的滥用过滤器(
abusefilter-modify-restricted
) - 创建或修改滥用过滤器(
abusefilter-modify
) - 查看被标记为非公开的滥用过滤器(
abusefilter-view-private
) - 查看标记为非公开的滥用过滤器的过滤日志(
abusefilter-log-private
) - 查看详细过滤器日志(
abusefilter-log-detail
) - 查看滥用过滤器(
abusefilter-view
) - 查看过滤器日志(
abusefilter-log
)
保护措施
为了防止某些设计有瑕疵的过滤器对正常编辑造成影响甚至破坏维基百科,当某一过滤器被激活的频率达到一定百分比时,过滤器将被自动禁用。其他的保护措施仍在编写当中。
通知訊息
警告
- Abusefilter-warning
- Abusefilter-warning-36.224-talk
- Abusefilter-warning-BLP-classification
- Abusefilter-warning-BLP-name
- Abusefilter-warning-BLP-nickname
- Abusefilter-warning-EditingArchive
- Abusefilter-warning-Interpunct
- Abusefilter-warning-Template
- Abusefilter-warning-Wikilink
- Abusefilter-warning-add-expand
- Abusefilter-warning-add-wikify
- Abusefilter-warning-anon-userpage
- Abusefilter-warning-badusername-block
- Abusefilter-warning-bbci
- Abusefilter-warning-blanking-talk
- Abusefilter-warning-cc
- Abusefilter-warning-cite-error
- Abusefilter-warning-copyright
- Abusefilter-warning-copyvio-notcv
- Abusefilter-warning-csd-badreason
- Abusefilter-warning-dkyc-removal
- Abusefilter-warning-dyk
- Abusefilter-warning-edit-userpage
- Abusefilter-warning-email
- Abusefilter-warning-emoji
- Abusefilter-warning-fixedposition
- Abusefilter-warning-flow-unsupported
- Abusefilter-warning-html-entity
- Abusefilter-warning-html-entity/zh
- Abusefilter-warning-images
- Abusefilter-warning-incorrect-punctuation-mark
- Abusefilter-warning-interwiki-talkpage
- Abusefilter-warning-ktg6us78hf8vdu7
- Abusefilter-warning-link-spam
- Abusefilter-warning-missing-file
- Abusefilter-warning-missing-template
- Abusefilter-warning-misuse-redirect
- Abusefilter-warning-mosiw
- Abusefilter-warning-movetouserpage
- Abusefilter-warning-movetouserpage2
- Abusefilter-warning-newcat
- Abusefilter-warning-newcomer-edit-ownusertalk
- Abusefilter-warning-no-lead-section
- Abusefilter-warning-noteta-in-template
- Abusefilter-warning-ns8-notransclude
- Abusefilter-warning-party-meta
- Abusefilter-warning-party-meta/zh
- Abusefilter-warning-party-meta/zh-hans
- Abusefilter-warning-party-meta/zh-hant
- Abusefilter-warning-questionable-sources
- Abusefilter-warning-ref-group-blanking
- Abusefilter-warning-refremoved
- Abusefilter-warning-removal
- Abusefilter-warning-remove-talk
- Abusefilter-warning-repeated-characters
- Abusefilter-warning-short-new-article
- Abusefilter-warning-short-new-article-disallow
- Abusefilter-warning-signature-forgery
- Abusefilter-warning-spam
- Abusefilter-warning-spamblacklist
- Abusefilter-warning-testedit
- Abusefilter-warning-text-after-category
- Abusefilter-warning-title-is-username
- Abusefilter-warning-trigger
- Abusefilter-warning-unglobalized
- Abusefilter-warning-vandal-block
- Abusefilter-warning-vandal-robot
- Abusefilter-warning-vandal-strict
- Abusefilter-warning-variant-chinese-character-friendly
- Abusefilter-warning-vote
- Abusefilter-warning-whitespace
- Abusefilter-warning-wikify
- Abusefilter-warning/zh
- Abusefilter-warning/zh-hans
- Abusefilter-warning/zh-hant
阻止
- Abusefilter-disallowed
- Abusefilter-disallowed-T222857
- Abusefilter-disallowed-adding-external-photo
- Abusefilter-disallowed-afd-votevoid
- Abusefilter-disallowed-baidu
- Abusefilter-disallowed-ban
- Abusefilter-disallowed-bias-politics
- Abusefilter-disallowed-blanking
- Abusefilter-disallowed-block
- Abusefilter-disallowed-brokencomments
- Abusefilter-disallowed-category-control-character
- Abusefilter-disallowed-category-redirect
- Abusefilter-disallowed-copyvio
- Abusefilter-disallowed-del-cleanup-template
- Abusefilter-disallowed-delete-without-noinclude
- Abusefilter-disallowed-deltemplate
- Abusefilter-disallowed-edit-userpage
- Abusefilter-disallowed-editwarring
- Abusefilter-disallowed-interwiki
- Abusefilter-disallowed-invalidsign
- Abusefilter-disallowed-linear-gradient
- Abusefilter-disallowed-login
- Abusefilter-disallowed-loyalty&rebel
- Abusefilter-disallowed-mainpage-noteta
- Abusefilter-disallowed-mass-new-article
- Abusefilter-disallowed-mirror
- Abusefilter-disallowed-missing-file
- Abusefilter-disallowed-missing-template
- Abusefilter-disallowed-mos-nationality
- Abusefilter-disallowed-mosdate
- Abusefilter-disallowed-moshead
- Abusefilter-disallowed-mosiw
- Abusefilter-disallowed-newuser-notability
- Abusefilter-disallowed-newuser-xfd
- Abusefilter-disallowed-noteta
- Abusefilter-disallowed-ownuserpagemove
- Abusefilter-disallowed-protect
- Abusefilter-disallowed-rcflood
- Abusefilter-disallowed-removal
- Abusefilter-disallowed-removal-afd
- Abusefilter-disallowed-removal-cat
- Abusefilter-disallowed-removal-cat/zh-hans
- Abusefilter-disallowed-removal-cat/zh-hant
- Abusefilter-disallowed-removal-report
- Abusefilter-disallowed-removal-report-page
- Abusefilter-disallowed-remove-DYKEntry-auto
- Abusefilter-disallowed-remove-talk
- Abusefilter-disallowed-removing-header
- Abusefilter-disallowed-rfpp-header
- Abusefilter-disallowed-school-songs
- Abusefilter-disallowed-selfclosed
- Abusefilter-disallowed-semiprotected-flow
- Abusefilter-disallowed-sign-in-article
- Abusefilter-disallowed-slow-down
- Abusefilter-disallowed-spam
- Abusefilter-disallowed-template-error
- Abusefilter-disallowed-testedit
- Abusefilter-disallowed-testedit-button
- Abusefilter-disallowed-trigger
- Abusefilter-disallowed-uaa
- Abusefilter-disallowed-vandal
- Abusefilter-disallowed-vandal-robot-strict
- Abusefilter-disallowed-variant-chinese-character
- Abusefilter-disallowed-vip-dup-report
- Abusefilter-disallowed-vrt
- Abusefilter-disallowed-wrong-wikitext-bold
- Abusefilter-disallowed-wrong-wikitext-extlink
- Abusefilter-disallowed/zh
- Abusefilter-disallowed/zh-cn
- Abusefilter-disallowed/zh-hans
- Abusefilter-disallowed/zh-hant
- Abusefilter-disallowed/zh-hk
- Abusefilter-disallowed/zh-mo
- Abusefilter-disallowed/zh-my
- Abusefilter-disallowed/zh-sg
- Abusefilter-disallowed/zh-tw
其他
測試過濾器
若要取得過濾器過濾時的各種變量,可以在正文或編輯摘要插入TriggerTestAbusefilterWarn
(Special:AbuseFilter/168)及TriggerTestAbusefilterDisallow
(Special:AbuseFilter/250)來生成過濾器日誌,前者會生成警告,後者會阻止該次編輯。