WikiCrawler/MediaWiki/WikiUtils.cs
/// <summary>
/// Adds a Check Categories template to the specified page text.
/// </summary>
Adds a Check Categories template to the specified page text.
Adds a Check Categories template to the specified page text .
public static string AddCheckCategories(string text)
		{
			if (!HasTemplate(text, "Check categories"))
			{
				string uncatTemplate;
				text = RemoveTemplate("uncategorized", text, out uncatTemplate);
				text = "{{subst:chc}}\n" + text;
			}
			return text;
		}
public static string AddCheckCategories ( string text ) { if ( ! HasTemplate ( text , " " ) ) { string uncatTemplate ; text = RemoveTemplate ( " " , text , out uncatTemplate ) ; text = " \n " + text ; } return text ; }
Adds a Check Categories template to the specified page text.
Adds a Check Categories template to the specified page text .
text
string