Manual:$wgEnableScaryTranscluding

Details
Enable scary transclusion (transcluding from another wiki).

This setting applies only to pages in the template: namespace; both $wgEnableScaryTranscluding and the iw_trans bit in the interwiki table must be set for this to be enabled.