Manual:$wgServerName
Jump to navigation
Jump to search
General Settings: $wgServerName | |
---|---|
The name of the server without the protocol. |
|
Introduced in version: | 1.24.0 |
Removed in version: | still in use |
Allowed values: | (string) |
Default value: | (dynamically created) |
Other settings: Alphabetical | By function |
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.
Details[edit]
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.