Manual:$wgServerName/zh
From Linux Web Expert
<translate> Server URLs and file paths</translate>: $wgServerName | |
---|---|
不包含协议的服务器名称。 |
|
<translate> Introduced in version:</translate> | 1.24.0 (Gerrit change 131675; git #72c0ce43) |
<translate> Removed in version:</translate> | <translate> still in use</translate> |
<translate> Allowed values:</translate> | (字符串) |
<translate> Default value:</translate> | (动态创建) |
<translate> Other settings:</translate> <translate> Alphabetical</translate> | <translate> By function</translate> |
1.3.8 – 1.16
<translate> MediaWiki versions:</translate> |
MediaWiki版本: | <translate> ≥</translate> 1.24 |
这个变量最初于1.3.8引入,但于1.17.0(r73950)移除。现在它在1.24.0中重新引入。
详情
不带协议或斜杠的服务器名称(比如:"en.wikipedia.org")。它从$1自动计算得来。
It is automatically calculated based on $wgCanonicalServer
.
不应该自定义这个变量,如果手动设置它将会生成一个警告。
用于:
- RCFeed (
server_name
属性) $wgEmergencyContact
和$wgPasswordSender
邮件的默认服务器值。
参见
Categories:
- MediaWiki configuration settings/zh
- MediaWiki configuration settings introduced in version 1.24.0/zh
- MediaWiki configuration settings still in use/zh
- Path variables/zh
- MediaWiki configuration settings introduced in version 1.3.8/zh
- MediaWiki configuration settings removed in version 1.17.0/zh
- Pages with broken file links
- MediaWiki deprecated or obsolete features/zh
- Variables/zh