Manual:$wgBadUserAgents

From MediaWiki.org
Jump to: navigation, search
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")

[edit] See Also

Language: English  • 日本語 • Русский
Personal tools
Namespaces
Variants
Actions
Site
Support
Download
Development
Communication
Print/export
Toolbox