Manual:$wgExportAllowHistory

Details
If set to, it disables the full-history feature on " Special:Export " accessible by deselecting the "  " option. As a result only the most recent version of a given page can be exported.