Manual:$wgExportAllowHistory

Details
If set to false, disables the full-history option on Special:Export.