Let's say I want to publish a book which contains an extract of a Wikipedia article. I don't want to modify the extract in any way, I just want to copy it into my book.
Wikipedia text seems to be distributed under the Creative Commons Attribution-ShareAlike license. It is very clear that I need to provide credit to Wikipedia's authors, which is no problem. It is also clear that any derivative work needs to be distributed under a compatible license. So if I would make any alterations to the extract, I would need to publish this new version under such a license.
Now I wonder if my whole book would be considered a derivative work. And if so, would this mean that I need to publish my whole book under a compatible license?