WikiCrawler/Utility/LicenseUtility.cs
// <summary>
/// Returns the best applicable license tag for an item with an unknown author.
/// </summary>
Returns the best applicable license tag for an item with an unknown author.
Returns the best applicable license tag for an item with an unknown author .
public static string GetPdLicenseTagUnknownAuthor(int pubYear, string pubCountry)
	{
		if (pubCountry == "USA")
		{
			pubCountry = "US";
			if (pubYear < (DateTime.Now.Year - 95))
			{
				return "{{PD-US-expired|country=" + pubCountry + "}}";
			}
			else
			{
				return "";
			}
		}
		else
		{
			return "";
		}
	}
public static string GetPdLicenseTagUnknownAuthor ( int pubYear , string pubCountry ) { if ( pubCountry == " " ) { pubCountry = " " ; if ( pubYear < ( DateTime . Now . Year - 95 ) ) { return " " + pubCountry + " " ; } else { return " " ; } } else { return " " ; } }
Returns the best applicable license tag for an item with an unknown author.
Returns the best applicable license tag for an item with an unknown author .
pubYear
int
pubCountry
string