For example using this Wikipedia dump:
http://en.wikipedia.org/w/api.php?action=query&prop=revisions&titles=lebron%20james&rvprop=content&redirects=t
I know this is an old question, but I here is this great script that reads the wiki dump xml and outputs a very nice csv:
PyPI: https://pypi.org/project/wiki-dump-parser/
GitHub: https://github.com/Grasia/wiki-scripts/tree/master/wiki_dump_parser