private void NewWhatLinksHere(string title)
{
try
{
if (EditBoxTab.SelectedTab == tpLinks && title != null)
{
title = HttpUtility.UrlEncode(title);
if (webBrowserLinks.Url !=
new Uri(Variables.URLIndex + "?title=Special:WhatLinksHere/" + title +
"&printable=yes") && !string.IsNullOrEmpty(title))
webBrowserLinks.Navigate(Variables.URLIndex + "?title=Special:WhatLinksHere/" +
title + "&printable=yes");
}
else
webBrowserLinks.Navigate("about:blank");
}
catch
{
webBrowserLinks.Navigate("about:blank");
if (webBrowserLinks.Document != null)
webBrowserLinks.Document.Write("<html><body><p>Unable to load What Links Here</p></body></html>");
}
}