Manual:$wgBreakFrames

Details
Break out of framesets.

This can be used to prevent external sites from framing your site.

If set to "true" it will also prevent positive uses of frames.