https://en.wikipedia.org/wiki/Wikipedia:Database_download
This seems to imply that you can download an archive and extract it, but media files have to be downloaded separately.