public static String getGmWiki(String arg)
		{
		String url = "http://wiki.yoyogames.com/index.php/" + arg;
		String def = null;

		Scanner sc = null;
		HttpURLConnection conn = null;
		try
			{
			conn = (HttpURLConnection) (new URL(url).openConnection());

			// Set up a request.
			conn.setConnectTimeout(5000); // 5 sec
			conn.setReadTimeout(5000); // 5 sec
			conn.setInstanceFollowRedirects(true);
			conn.setRequestProperty("User-agent","spider");

			// Send the request.
			conn.connect();
			InputStream is = conn.getInputStream();

			sc = new Scanner(is);
			sc.useDelimiter("id=\"Description\"");

			sc.next();
			sc.nextLine();
			def = sc.nextLine();
			}
		catch (NoSuchElementException e)
			{
			}
		catch (SocketTimeoutException e)
			{
			return "Server timeout. Try again later.";
			}
		catch (IOException e)
			{
			}
		finally
			{
			if (sc != null) sc.close();
			if (conn != null) conn.disconnect();
			}

		if (def != null)
			{
			if (def.startsWith("<p>")) def = def.substring(3);
			def = def.replaceAll("</?[ib]>","*");
			def = def.replaceAll("<.*?>","--").replaceAll("\\&.*?;","").trim();
			if (def.isEmpty()) def = null;
			}

		return def;
		}