AutoWikiBrowser.MainForm.LoadTemplateRedirects C# (CSharp) Method

LoadTemplateRedirects() private method

Loads the list of template redirects to bypass from [[WP:AWB/Template redirects]]
private LoadTemplateRedirects ( ) : void
return void
        private void LoadTemplateRedirects()
        {
            string text;
            TemplateRedirectsLoaded = true;
            try
            {
                text = TheSession.Editor.SynchronousEditor.Clone().Open("Project:AutoWikiBrowser/Template redirects", true);
            }
            catch
            {
                text = "";
            }

            // always make this call even if no text found (if changed project from one to another must make sure redirects are cleared)
            WikiRegexes.TemplateRedirects = Parsers.LoadTemplateRedirects(text);
        }
MainForm