Manual:$wgEnableCanonicalServerLink

From MediaWiki.org
Jump to: navigation, search

Other languages:
Deutsch • ‎English • ‎español • ‎français • ‎italiano • ‎日本語 • ‎polski • ‎português • ‎português do Brasil
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

Details[edit]

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

Intended to fix task T45466 when serving Uzbek Wikipedia, make HTTPS canonical.