HomePhabricator

Set $wgHTTPProxy globally instead of relying on getenv()

Authored by demon on Jul 18 2016, 4:52 PM.

Description

Set $wgHTTPProxy globally instead of relying on getenv()

We shouldn't be relying on this anyway and it was never a
supported method of doing this, but we want to be explicit.

Also avoids a function call to getenv() on external requests,
for a super tiny micro-optimization.

Bug: T140658
Change-Id: I1764571355a45ee3268a5a9856fb6c8907f91091