A federal judge has ordered the writer of a New York Times editorial that mentioned Sarah Palin to testify concerning her defamation lawsuit.

Manhattan Judge Jed Rakoff set an Aug. 16 hearing. The newspaper says it will comply with the order.