Thread:Project:Support desk/MediaWiki database error after running enwiki-latest-page.sql

I noticed in local mediaWiki database for wikipedia, entries for some of the pages were missing. So using enwiki-latest-page.sql recreated the page table. But as page table is linked to revision table which in turn is linked to text table, the corresponding new records were not present in revision table. How do I get the complete data for revision table and text table ?