Manual:$wgExportAllowHistory/pl

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