Podręcznik:$wgServerName
Appearance
| Server URLs and file paths: $wgServerName | |
|---|---|
| The name of the server without the protocol. |
|
| Wprowadzono w wersji: | 1.24.0 (Gerrit change 131675; git #72c0ce43) |
| Usunięto w wersji: | nadal w użyciu |
| Dozwolone wartości: | (łańcuch) |
| Domyślna wartość: | (dynamically created) |
| Inne ustawienia: Alfabetycznie | Według funkcji | |
| Wersje MediaWiki: | 1.3.8 – 1.16 |
| Wersja MediaWiki: | ≥ 1.24 |
This variable was added in 1.3.8, then removed in 1.17.0 (r73950), then 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_nameproperty)
- Default value of server for
$wgEmergencyContactand$wgPasswordSenderemails.
Zobacz też
Categories:
- MediaWiki configuration settings/pl
- MediaWiki configuration settings introduced in version 1.24.0/pl
- MediaWiki configuration settings still in use/pl
- Path variables/pl
- MediaWiki configuration settings introduced in version 1.3.8/pl
- MediaWiki configuration settings removed in version 1.17.0/pl
- MediaWiki deprecated or obsolete features/pl
- Variables/pl