That's not against Wikipedia's ToS.
http://wikimediafoundation.org/wiki/Terms_of_Use
Facebook could have scraped Wikipedia without asking, but as it happens, there is an agreement in place. I happen to work at the WMF, but don't ask me for more details, I'm not that privy to them.
This thread might help.
http://www.gossamer-threads.com/lists/wiki/foundation/194087