維基百科:防濫用過濾器
防濫用過濾器管理 介紹 · 討論 · 列表 · 如何建立過濾器 · 請求建立或修改過濾器 · 報告過濾器判定錯誤 |
防濫用過濾器是一個可以針對所有最近編輯動作進行自動化判斷的軟件系統。管理員可以針對特定的用戶行為設定過濾器,過濾器被觸發時可進行特定的操作。
Werdna開發了防濫用過濾器。中文維基百科於2009年4月安裝了防濫用過濾器並正式投入使用。
通過編輯條件代碼,本擴展可以針對所有的編輯進行自動化判定。例如「禁止非自動確認用戶清空頁面」。當然,高級代碼所編寫的過濾器可以更為複雜,例如英文維基百科的過濾器可以成功阻止超過70%的頁面移動破壞。
用戶可以查看所有公開過濾器的詳情及觸發紀錄,而隱藏過濾器則只對於管理員與過濾器助理開放。[1]
說明文檔
以下是對於防濫用過濾器部分功能的非正式說明,由於擴展仍然在開發階段,本說明文檔可能會過時並需要更新。
可以針對哪些條件進行過濾
通過相關的代碼,過濾器可以針對下列所有項目進行代數運算、邏輯判定、匹配正則表達式等。
用戶
- 編輯次數
- 註冊時間
- 用戶群組
- 電子郵件確認情況
頁面
- 命名空間
- 標題
- 全文
- 頁面保護情況
操作
- 摘要(包括編輯摘要、移動摘要等)
- 編輯更改的內容
- 操作類型(包括編輯、移動、新建等)
操作頻率
- 可以限定某一賬戶、IP、/16廣域IP、或某一日期創建的賬戶進行某一操作的頻率,也可以限定對特定頁面進行某一操作的頻率。
- 以上的任何條件均可以混合使用。例如,我們可以針對所有在同一天,同一個/16IP範圍創建的賬戶進行操作頻率限制。
- 過濾器只有在被觸發一定次數後才會進行任何操作。這一功能可以降低錯誤報告的幾率。
過濾器被觸發後可以做什麼
當過濾器被觸發時,管理員可以設定如下操作(大致根據行為的嚴重程度從輕到重排序):
- 所有觸發過濾器的行為均會被記錄在特殊頁面的日誌中。(強制,無法取消)
- 給用戶的操作加上標籤,以便進一步的核查。
- 用戶收到警告訊息。
- 用戶的操作被阻止。
- 用戶的自動確認狀態被隨機取消5天[2]。
- 封鎖使用者帳號或IP位址(可分別指定期限)。[3]
用戶的所有用戶群組被移除(例如機械人、管理員、回退員等)。(本地未啟用)
在安裝擴展時,可以有針對性地禁用特定的操作。
監視
![](http://images.weserv.nl/?url=//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)來生成過濾器日誌,前者會生成警告,後者會阻止該次編輯。