Manual:$wgCanonicalLanguageLinks

Details
Whether to enable canonical language links in metadata.