X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FpopulateInterwiki.php;h=a654a1fc95507b82a01e24fd61c0bc18464c333e;hb=97c13ffeb854180843492046be6696cb0d49099e;hp=acc66c5199b89f694d6a4dabf2be48f15330c53e;hpb=18a6b556b3c595bd0ced99316280094e77ab4a7e;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/populateInterwiki.php b/maintenance/populateInterwiki.php index acc66c5199..a654a1fc95 100644 --- a/maintenance/populateInterwiki.php +++ b/maintenance/populateInterwiki.php @@ -86,7 +86,7 @@ TEXT $url = rtrim( $this->source, '?' ) . '?' . $url; } - $json = Http::get( $url ); + $json = MediaWikiServices::getInstance()->getHttpRequestFactory()->get( $url ); $data = json_decode( $json, true ); if ( is_array( $data ) ) {