Hi.
Is there a way to get a list of all pages that have tables?
There's no easy way of doing that.
You could use pywikibot and use the listpages.py script using the -grep option to find table syntax, for example -grep:"\{\|" (in regular expression notation) to detect the open table syntax.