Last modified: 2010-02-23 02:04:55 UTC
I suggest an improvement so that the variable $wgHTTPProxy - which is needed for curl calls for example for uploading files from external urls - is initialized from environement variable $http_proxy (if present). Diff/Patch follows
Created attachment 7016 [details] diff / patch
refers also to http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/HttpFunctions.php?view=markup
Suggest WONTFIX. Just because an environment variable named http_proxy has been set does not mean the wiki needs to use it for external HTTP connections.
It might not be useful for the Wiki, but is probably useful for the CLI utilities.
(In reply to comment #4) > It might not be useful for the Wiki, but is probably useful for the CLI > utilities. (In reply to comment #3) > Suggest WONTFIX. Just because an environment variable named http_proxy has been > set does not mean the wiki needs to use it for external HTTP connections. This setting (or another one which supplies the proxy address) _is_ needed for the curl call (side-upload of a file = upload a file by its URL) when proxy settings are needed for the server where the mediawiki lives. See inside http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/HttpFunctions.php?view=markup
fixed in r62811