public void Update(Wiki wiki)
{
WebClient client = new WebClient();
Cache.LoadPageList(client, Module.Language, Category, Depth);
string text = ProcessData(wiki);
if (!string.IsNullOrEmpty(text))
{
Console.Out.WriteLine("Updating " + Page);
wiki.Save(Page, text, Module.UpdateComment);
}
}