Manual:$wgServerName/de-formal
Server URLs and file paths: $wgServerName | |
---|---|
The name of the server without the protocol. |
|
Eingeführt in Version: | 1.24.0 (Gerrit change 131675; git #72c0ce43) |
Entfernt in Version: | weiterhin vorhanden |
Erlaubte Werte: | (string) |
Standardwert: | (dynamically created) |
Andere Einstellungen: Alphabetisch | Nach Funktion |
MediaWiki versions: | 1.3.8 – 1.16 |
MediaWiki version: | ≥ 1.24 |
This variable was added in 1.3.8, then removed in 1.17.0 (r73950), then re-introduced in 1.24.0.
Details
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.