Thread:Project:Support desk/Importing from one mediawiki to another - help/reply (3)

Yes, pages get imported in the order they're stored in the import XML. Maybe the pages were there before the templates, and when templates were imported they didn't purge the pages.

Note that if those templates were used on a lot of pages, those pages weren't purged automatically, and the purge should be delayed in the Manual:Job queue. Assuming that's what happened, running Manual:runJobs.php should have been fixed this, otherwise that would be a bug.