用户:Makecat/AWB/notstub
< User:Makecat | AWB
WikiFunctions.Parse.HideText ht = new WikiFunctions.Parse.HideText(true, false, true);
public string ProcessArticle(string ArticleText, string ArticleTitle, int wikiNamespace, out string Summary, out bool Skip)
{
Skip = false;
Summary = "机器人:[[CAT:字数已超过3000字节的小作品|移除小作品模板]]";
ArticleText = ht.Hide(ArticleText);
ArticleText=Regex.Replace(ArticleText, @"\{\{.*stub\}\}", "");
ArticleText=Regex.Replace(ArticleText, @"\{\{.*小作品\}\}", "");
return ht.AddBack(ArticleText);
return ArticleText;
}