Index: trunk/phase3/includes/HttpFunctions.php |
— | — | @@ -89,6 +89,7 @@ |
90 | 90 | // Check if this domain or any superdomain is listed in $wgConf as a local virtual host |
91 | 91 | $domainParts = array_reverse( $domainParts ); |
92 | 92 | |
| 93 | + $domain = ''; |
93 | 94 | for ( $i = 0; $i < count( $domainParts ); $i++ ) { |
94 | 95 | $domainPart = $domainParts[$i]; |
95 | 96 | if ( $i == 0 ) { |
— | — | @@ -198,6 +199,8 @@ |
199 | 200 | |
200 | 201 | /** |
201 | 202 | * Generate a new request object |
| 203 | + * @param $url String: url to use |
| 204 | + * @param $options Array: (optional) extra params to pass (see Http::request()) |
202 | 205 | * @see MWHttpRequest::__construct |
203 | 206 | */ |
204 | 207 | public static function factory( $url, $options = null ) { |