protected static List<WikiFunctions.Article> GetRedirects(string target)
{
string message = "Loading redirects for Template:" + target;
PluginManager.StatusText.Text = message;
Application.DoEvents();
// the statusbar text wasn't updating without this; if happens elsewhere may need to write a small subroutine
try
{
return Rlp.MakeList(Namespace.Template, new[] {Variables.Namespaces[Namespace.Template] + target});
}
finally
{
PluginManager.DefaultStatusText();
}
}