public static string WikiEncode(string title) { return HttpUtility.UrlEncode(title.Replace(' ', '_')).Replace("%2f", "/").Replace("%3a", ":"); }
public void OpenPageInBrowser(string title) { if (!Variables.UsingSecure) { string url = ArticleUrl.Replace("$1", Tools.WikiEncode(title)); Tools.OpenURLInBrowser(url); } else { Tools.OpenArticleInBrowser(title); } }