User:Davidwr/sandbox SupremeCourt

=Need for Supreme Court Case Stubs= Many articles have broken links to Supreme Court of the United States cases. For example, Presbyterian Church (USA) links to Jones v. Wolf. Many if not all US Supreme Court cases are listed on Category:Lists of United States Supreme Court cases. The links off of this page include FindLaw links for all cases in the past few decades. I would like to see bot create a stub article for all missing cases that includes a link to the appropriate List of United States Supreme Court cases, volume NNN page and a link to the FindLaw link that's included in that page if one is available.

=Additional work=
 * A category should be created and each new stub added to that category.
 * A template Template:United States Supreme Court case stubs should be created. This stub should be a near-clone of the "this article is a stub" template.  This should be included in each new article.
 * A substitution-template should be created and used by the bot to generate the initial articles. Input to the template will be the names of each litigant, the ussc-template input which includes the year of the case.
 * Optionally: Only process cases that have at least 1 Wikipedia article linking to them, not counting "list of Supreme Court Case"-type articles.  If this is done, the bot will need to be run regularly.  I suggest monthly.  I think the better option is to create stubs for all articles that have a valid Findlaw link, then re-run the script every year after all Supreme Court opinions for the year are published.
 * Advanced version: Retrieve and parse the case from Findlaw and fill in more details for the SCOTUSCase template.  This is beyond the scope of anything I plan on doing.

=Here is an example Supreme Court case=

=Stubbified version=

=Stubbified version as it appears, without references or categories=

United Steelworkers of America v. Weber, is a Supreme Court case.

This article is a Supreme Court of the United States case stub. Please improve it.