X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FpopulateInterwiki.php;h=6cc86e0dce9c8eb1bad80283f65562043cbfbf63;hb=d60849c5de08db4cf027325f17f1a3705e106b5d;hp=acc66c5199b89f694d6a4dabf2be48f15330c53e;hpb=8c96aec32cffaab96b2bd9dca206a99a13640545;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/populateInterwiki.php b/maintenance/populateInterwiki.php index acc66c5199..6cc86e0dce 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 ) ) { @@ -141,7 +141,7 @@ TEXT 'iw_local' => 1 ], __METHOD__, - 'IGNORE' + [ 'IGNORE' ] ); }