Jump to content

Podręcznik:$wgBadUserAgents

From mediawiki.org
This page is a translated version of the page Manual:$wgBadUserAgents and the translation is 40% complete.
Language, regional and character encoding settings: $wgBadUserAgents
Array of user agents that should be automatically blocked.
Wprowadzono w wersji:Before 1.1.0
Usunięto w wersji:1.2.0 (r2473)
Dozwolone wartości:nie określono
Domyślna wartość:false

Szczegóły

User agent/range blocking. Blocks all users using a particular user agent, possibly restricted to a set of IP ranges.

You can't block all user agents by leaving $wgBadUserAgents blank. That would block nothing.

This setting holds an array of user agents that should be automatically blocked.

np. array( 'OfflineExplorer/1.0' )

Zobacz też