Extension:AutoProxyBlock/zh

The AutoProxyBlock extension allows to autoblock or logging (in common MediaWiki Log or by AbuseFilter) actions, performed through proxy.

权限

 * "proxyunbannable" (by default it's right of sysops) allow avoiding proxy blocks if edit-like actions forbidden.
 * "notagproxychanges" protect account from tagging actions with "proxy" tag.

设置

 * $wgProxyCanPerform -- 代理用户允许执行的一系列动作（默认值-“读取”和“编辑”）；
 * $wgTagProxyActions -- 如果设置为true，则扩展程序将公共“proxy”标签添加到所有匹配的操作中.
 * $wgAutoProxyBlockSources -- 来源数组（代理列表）：
 * $wgAutoProxyBlockSources['api'] -- array of MediaWiki API urls, used for retrieving proxy information (i.e. English Wikipedia, many proxies blocked by Procsee Bot).
 * $wgAutoProxyBlockSources['raw'] -- absolute path to local text files with proxy lists.
 * $wgAutoProxyBlockSources['key'] -- string, regex to detect proxy block on foreigh site (i.e. proxies in enwiki blocked with key "blocked proxy").
 * $wgAutoProxyBlockLog -- set to true for logging all forbidden proxy actions in Special:Log/proxyblock.