Hi Hugh,
Have you taken a look here: https://meta.wikimedia.org/wiki/Data_dumps I think this might have what you are looking for Also, this page can come in handy to know the database structure https://www.mediawiki.org/wiki/Manual:Database_layout
Regards, Tom