Index: trunk/extensions/HelpCommons/HelpCommons.php |
— | — | @@ -97,7 +97,7 @@ |
98 | 98 | } |
99 | 99 | |
100 | 100 | // check if requested page does exist |
101 | | - $apiResponse = file_get_contents( $url . $prefix . '/api.php?format=php&action=query&titles=Help:' . $dbkey ); |
| 101 | + $apiResponse = Http::get( $url . $prefix . '/api.php?format=php&action=query&titles=Help:' . $dbkey ); |
102 | 102 | $apiData = unserialize( $apiResponse ); |
103 | 103 | |
104 | 104 | if ( !$apiResponse ) { |