wikipedia_language; $source = check_for_privacy_frontend("https://$wikipedia_language.wikipedia.org/wiki/$query"); $response = array( "special_response" => array( "response" => htmlspecialchars($description), "source" => $source ) ); if (array_key_exists("thumbnail", $first_page)) { $image_url = $first_page["thumbnail"]["source"]; $response["special_response"]["image"] = $image_url; } return $response; } } ?>