Manual:$wgCanonicalServer
From MediaWiki.org
| General Settings: $wgCanonicalServer | |
|---|---|
| Server name with protocol to use for links to the wiki from other places |
|
| Introduced in version: | 1.18.0 (r94995) |
| Removed in version: | still in use |
| Allowed values: | URL string |
| Default value: | $wgServer ; if protocol-relative, will be expanded to HTTP |
Other settings: Alphabetical | By Function
Details [edit]
Server name with protocol (HTTP or HTTPS) to use for links to the wiki from IRC feeds and e-mail notifications.
Example [edit]
$wgServer = '//example.com'; $wgCanonicalServer = 'https://example.com'; // use HTTPS for links. Default would be 'http://example.com'
| Language: | English |
|---|