WikiFunctions.Parse.Parsers.HasMorefootnotesAndManyReferences C# (CSharp) Method

HasMorefootnotesAndManyReferences() public static method

Check if the article contains a {{no footnotes}} or {{more footnotes}} template but has 5+ <ref>...</ref> references
public static HasMorefootnotesAndManyReferences ( string articleText ) : bool
articleText string
return bool
        public static bool HasMorefootnotesAndManyReferences(string articleText)
        {
            return (TemplateExists(GetAllTemplates(articleText), WikiRegexes.MoreNoFootnotes) && WikiRegexes.MoreNoFootnotes.IsMatch(WikiRegexes.Comments.Replace(string.Join("", GetAllTemplateDetail(articleText).ToArray()), "")) && WikiRegexes.Refs.Matches(articleText).Count > 4);
        }
Parsers