Manual:$wgEnableCanonicalServerLink

From MediaWiki.org
Jump to: navigation, search
Output: $wgEnableCanonicalServerLink
Output a <link rel="canonical"> tag on every page indicating the canonical server which should be used, i.e. $wgServer or $wgCanonicalServer.
Introduced in version: 1.21.0 (git #e0a78d0a)
Removed in version: still in use
Allowed values: (boolean)
Default value: false

Other settings: Alphabetical | By Function

If enabled with "true", output a <link rel="canonical"> tag on every page indicating the canonical server which should be used, i.e. $wgServer or $wgCanonicalServer. Since detection of the current server is unreliable, the link is sent unconditionally.

Intended to fix bug 43466 when serving Uzbek Wikipedia, make HTTPS canonical.