/// <summary> /// Send the article to a plugin for processing /// </summary> /// <param name="plugin">The plugin</param> /// <param name="sender">The AWB instance</param> public void SendPageToPlugin(IAWBPlugin plugin, IAutoWikiBrowser sender) { string strTemp = plugin.ProcessArticle(sender, this); if (mPluginSkip) { if (!SkipArticle) { /* plugin has told us to skip but didn't log any info about reason * Calling Trace.SkippedArticle() should also result in SkipArticle becoming True * and our caller - MainForm.ProcessPage() - can check this value */ Trace.SkippedArticle(plugin.Name, "Skipped by plugin"); } } else { mAWBLogListener.Skipped = false; // a bit of a hack, if plugin says not to skip I'm resetting the LogListener.Skipped value to False PluginChangeArticleText(strTemp); AppendPluginEditSummary(); } }