internal static void TestSkipNonExistingPages()
{
lock (static_TestSkipNonExistingPages_WeCheckedSkipNonExistingPages_Init)
{
try
{
if (InitStaticVariableHelper(static_TestSkipNonExistingPages_WeCheckedSkipNonExistingPages_Init))
{
static_TestSkipNonExistingPages_WeCheckedSkipNonExistingPages = false;
}
}
finally
{
static_TestSkipNonExistingPages_WeCheckedSkipNonExistingPages_Init.State = 1;
}
}
if (!static_TestSkipNonExistingPages_WeCheckedSkipNonExistingPages && ActivePlugins.Any())
{
if (AWBForm.SkipNonExistentPages.Checked)
{
static_TestSkipNonExistingPages_WeCheckedSkipNonExistingPages = true;
if (
MessageBox.Show(
"The skip non existent pages checkbox is checked. This is not optimal for WikiProject tagging " +
"as AWB will skip red-link talk pages. Please note that you will not receive this warning " +
"again during this session, even if you load settings which have that box checked." +
Microsoft.VisualBasic.Constants.vbCrLf + Microsoft.VisualBasic.Constants.vbCrLf +
"Would you like the plugin to change this setting to false?", "Skip Non Existent Pages",
MessageBoxButtons.YesNo, MessageBoxIcon.Question, MessageBoxDefaultButton.Button1) ==
DialogResult.Yes)
{
AWBForm.SkipNonExistentPages.Checked = false;
}
}
}
}