Podręcznik:$wgServerName
Jump to navigation
Jump to search
General Settings: $wgServerName | |
---|---|
The name of the server without the protocol. |
|
Wprowadzono w wersji: | 1.24.0 |
Usunięto w wersji: | nadal w użyciu |
Dozwolone wartości: | (łańcuch) |
Domyślna wartość: | (dynamically created) |
Inne ustawienia: Alfabetycznie | Według funkcji |
This variable was formerly available from 1.3.8 and then removed in 1.17.0 (r73950). It was re-introduced in 1.24.0.
Szczegóły
The name of the server without the protocol or trailing slash. (e.g. "en.wikipedia.org").
It is automatically calculated based on $wgCanonicalServer
.
It should not be customized, and will generate a warning if set.
Used in:
- RCFeed (
server_name
property)
- Default value of server for
$wgEmergencyContact
and$wgPasswordSender
emails.