Extension:AutoProxyBlock

{{ {{TNTN|Extension}} |templatemode =
 * name       = AutoProxy
 * status     = beta
 * type1      = user access
 * username   = Cryptocoryne
 * author     = Cryptocoryne
 * hook1         = GetIP
 * hook2         = getUserPermissionsErrorsExpensive
 * hook3         = ListDefinedTags
 * hook4         = RecentChange_save
 * hook5         = User
 * description = Allows to block or logging proxy edits.
 * mediawiki  = 1.17+
 * license    = GPL

Rights

 * "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.

Settings

 * $wgProxyCanPerform -- array of actions, allowed to perform by proxy users (default -- "read" and "edit");
 * $wgTagProxyActions -- if set to true, extension add public "proxy" tag to all matched actions.
 * $wgAutoProxyBlockSources -- array of sources (proxy-lists):
 * $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.