Manual:$wgBreakFrames

Details
Break out of framesets. This can be used to prevent external sites from framing your site. If set to "true" it might also break some front end functionality on your wiki, such as extensions using the Fancybox javascript library.