public static bool IsMissingReferencesDisplay(string articleText)
{
if (!Variables.LangCode.Equals("en") || TemplateExists(GetAllTemplates(articleText), ReflistQuick))
return false;
// list-defined references with unbalanced { or } in cite template can cause ReferencesTemplate not to match, hence quick check
return !ReflistQuick.IsMatch(articleText) && !WikiRegexes.ReferencesTemplate.IsMatch(articleText) && (TotalRefsNotGrouped(articleText) > 0 | GRTemplateDecimal.IsMatch(articleText));
}