[snip]
If you're trying to use both the page dumps and the SQL table dumps, use mwdumper to import, *not* MediaWiki's importDump.php.
importDump.php does not preserve page ID numbers; it's meant to bring data into an existing wiki.
mwdumper does preserve page ID numbers; it's meant to relatively quickly import the data dumps in exactly the state they were left.
-- brion vibber (brion @ pobox.com)