From the BBC News web site:
Author JK Rowling has won her legal battle in a New York court to get an unofficial Harry Potter encyclopaedia banned from publication.
Judge Robert Patterson said in a ruling Ms Rowling, 43, had proven Steven Vander Ark's Harry Potter Lexicon would cause her irreparable harm as a writer.
Ms Rowling sued Michigan based publishers RDR Books last year to stop publication of Mr Vander Ark's book. He wrote the book after running a popular Potter fansite.
Following the ruling, Ms Rowling said her legal action had aimed "to uphold the right of authors everywhere to protect their own original work".
She said: "The proposed book took an enormous amount of my work and added virtually no original commentary of its own."
The statement added: "Many books have been published which offer original insights into the world of Harry Potter. The Lexicon just is not one of them."
The book had been originally due for publication on 28 November 2007, but legal proceedings prevented it from being released.
Ms Rowling had originally supported the Lexicon website, but she said there was a difference between fans publishing information for free on the internet, and selling it in the form of a book.