Manual:$wgHTTPProxy/zh

From Linux Web Expert

<translate> HTTP client</translate>: $wgHTTPProxy
用于cURL请求的代理
<translate> Introduced in version:</translate>1.5.0 (r9860)
<translate> Removed in version:</translate><translate> still in use</translate>
<translate> Allowed values:</translate>(包含IP:Port的字符串)
<translate> Default value:</translate>'' (1.34+)
false (1.5-1.33)

细节

Proxy to use for cURL (or PHP fopen_url if cURL not available) requests, for example in side-uploads (uploads from an external URL). Format is: IP address of the proxy, a colon, and the port number.

Since August 2016, MediaWiki will not fallback to using the http_proxy environment variable, due to the vulnerability called httpoxy.

參見