Manual:$wgBadUserAgents
From MediaWiki.org
This feature has been deprecated and should not be used with current versions of MediaWiki.
This feature was deprecated (or possibly removed completely) in version 1.2.0.
| User agent: $wgBadUserAgents | |
|---|---|
| Array of user agents that should be automatically blocked. |
|
| Introduced in version: | pre 1.1.0 |
| Removed in version: | 1.2.0 |
| Allowed Values: | |
| Default Value: | false |
Other settings: Alphabetical | By Function
[edit] Details
User agent/range blocking Blocks all users using a particular user agent, possibly restricted to a set of IP ranges. Note: 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.
e.g. array("OfflineExplorer/1.0")