User:Slaporte/GSoC2010/OJ.php

This Wikisource Legal Tool is a rough draft.
 * 8/16/2010 - error for slow wp/ws api connections; error if cannot open html file
 * 8/15/2010 - cleaned up various functions
 * 8/14/2010 - documentation; buildPage; buildTalkPage
 * 8/13/2010 - more documentation
 * 8/1/2010 - trim whitespace from the front of lines
 * 7/28/2010 - accepts multiple | separated files; handles foot notes with letters; removes some whitespace; checks if the page already exists on wikisource, and then disambiguates with the citation.
 * 6/15/2010 - determines case name in a new way; saves to a flat file, general updates to formatted output
 * 6/7/2010 - (1) footnotes now use the template instead of the cite extension, footnotes in concurrences/dissents are handeld properly; (2) WikifyCite Tool does citation formatting; (3) cleaned up whitespace, wikification errors, etc; (4) fixed the Wikify for bot function
 * 6/2/2010 - Identifies and separates many dissents and concurrences. Does NOT properly handle footnotes at the moment.
 * 5/27/2010 - Improved formatting the syllabus, identifies authors of dissents in syllabus
 * 5/26/2010 - Identifies "per curiam" decisions, improved ability to identify author
 * 5/25/2010 - Identifies the author of the opinion of the court. Uses array to determine the full name of the author (e.g. "Justice WARREN" becomes "Earl Warren") to comply with standard format for Supreme court author. Uses year to choose between two authors with the same last name (e.g." Justice LAMAR" in 1890 is "Lucius Quintus Cincinnatus Lamar" and "Justice LAMAR" in 1913 is "Joseph Rucker Lamar")
 * 5/24/2010 - Output for a human or Pywikipediabot xml file.