Manual:$wgProxyList/de

Category:MediaWiki configuration settings/de#ProxyListCategory:MediaWiki configuration settings introduced in version 1.3.0/de#ProxyListCategory:MediaWiki configuration settings still in use/de#ProxyListCategory:Permission variables/de#ProxyList
Benutzerrechte, Zugriffskontrolle und Überwachung: $wgProxyList
A list of IP addresses to be banned
Eingeführt in Version:1.3.0 (r4130)
Entfernt in Version:Weiterhin vorhanden
Erlaubte Werte:(Array), (Zeichenkette)
Standardwert:[]

Details

Sets a list of IP addresses to be banned. (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.)

This can be an array of IP addresses or a string with the path to a file with each IP address on a separate line.

Beispiele

Eine Liste von IP-Adressen

$wgProxyList = [
	'127.0.0.1',
];

From an interface message

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

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

Siehe auch

Category:Permission variables/de
Category:MediaWiki configuration settings/de Category:MediaWiki configuration settings introduced in version 1.3.0/de Category:MediaWiki configuration settings still in use/de Category:Permission variables/de