The New York Times on Sunday published highlights of a six-year archive of classified military documents that was obtained by an organization called WikiLeaks. The documents cover the period from 2004 to 2009, and portray American forces as being starved for resources and battling an insurgency that was getting larger and better coordinated year by year. The Times, along with The Guardian newspaper in London and the German magazine Der Spiegel, was given access to the material several weeks ago, and The Times has spent a month examining the data for disclosures and patterns and verifying the information for the articles that it published Sunday.