Jump to: navigation, search
Translate this page; This page contains changes which are not marked for translation.

Other languages:
English • ‎español • ‎日本語 • ‎polski • ‎русский
Proxies: $wgProxyList
Big list of banned IP addresses.
Introduced in version: 1.3.0 (r4130)
Removed in version: still in use
Allowed values: array
Default value: array()
Other settings: Alphabetical | By function


Big list of banned IP addresses. (Originally meant for presumed open proxies that would most likely only be used for vandalism and block evasion, but can be used for blocking any kind of unwanted actors.)


$wgProxyList = array(


Copy and paste a comma-delimited list (e.g.,,, of open proxies into MediaWiki:Openproxylist; then put the following in LocalSettings.phpManual:LocalSettings.php:

$wgHooks['userCan'][] = 'getOpenProxyList';
$gotOpenProxyList = false;
function getOpenProxyList( $article, $fields ) {
	global $gotOpenProxyList, $wgProxyList;
	if ( !$gotOpenProxyList ) {
		$wgProxyList = explode( ',', wfMsg( 'openproxylist' ) );
	$gotOpenProxyList = true;
	return true;

See also[edit]