From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manual
Crystal Clear action run.png

Release status: beta

Implementation User access
Description Allows to block or logging proxy edits.
Author(s) Cryptocorynetalk
MediaWiki 1.17
License GPL
Hooks used


Translate the AutoProxyBlock extension if it is available at translatewiki.net

Check usage and version matrix; code metrics

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

Installation[edit | edit source]

MediaWiki version: 1.17
  • Download the files from SVN to the extensions directory.
  • Add include_once('extensions/AutoProxyBlock/AutoProxyBlock.php'); in LocalSettings.php.
  • Run install.php from extension directory.

Rights[edit | edit source]

  • "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[edit | edit source]

  • $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.