Manual:$wgCanonicalServer/pt

Category:MediaWiki configuration settings/pt#CanonicalServerCategory:MediaWiki configuration settings introduced in version 1.18.0/pt#CanonicalServerCategory:MediaWiki configuration settings still in use/pt#CanonicalServerCategory:Path variables/pt#CanonicalServer
Server URLs and file paths: $wgCanonicalServer
Canonical URL of the server, to use in IRC feeds, notification emails, etc.
Introduzida na versão:1.18.0 (r94995)
Removida na versão:ainda em uso
Valores permitidos:(String do URL)
Valor por omissão:$wgServer ; if $wgServer is protocol-relative, the HTTP equivalent will be used

Detalhes

Server name with protocol (HTTP or HTTPS) to use for links to the wiki from external locations, such as IRC feeds and email notifications. Must be fully qualified, even if $wgServer is protocol-relative.

You can often ignore this variable. However, if you have set $wgServer to a protocol-relative URL (for example, //www.mediawiki.org) and you would like links to your wiki to use HTTPS, set this variable to the equivalent HTTPS URL (for example, https://www.mediawiki.org).

Exemplo

$wgServer = '//example.com';
$wgCanonicalServer = 'https://example.com'; // utilize HTTPS para hiperligações. Predefinição seria 'http://exemplo.pt'

Ver também

Category:MediaWiki configuration settings/pt Category:MediaWiki configuration settings introduced in version 1.18.0/pt Category:MediaWiki configuration settings still in use/pt Category:Path variables/pt