用戶:Makecat/AWB/sectionname
< 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 = "";
ArticleText = ht.Hide(ArticleText);
ArticleText=Regex.Replace(ArticleText, @"==\s?References?\s?==", "== 参考资料 ==");
ArticleText=Regex.Replace(ArticleText, @"==\s?External links?\s?==", "== 外部链接 ==");
ArticleText=Regex.Replace(ArticleText, @"==\s?See also\s?==", "== 参见 ==");
return ht.AddBack(ArticleText);
return ArticleText;
}