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> General Settings</translate>: $wgServerName
<translate> Please edit this page to enter a summary.</translate>
<translate> Introduced in version:</translate>1.3.8
<translate> Removed in version:</translate>1.17.0 (r73950)
<translate> Allowed values:</translate><translate> Unspecified</translate>
<translate> Default value:</translate><translate> Unspecified</translate>
<td class="mw-version-versionbox" title="<translate nowrap> MediaWiki <tvar name=1>1.16</tvar> is unsupported version</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 . 不应该自定义这个变量,如果手动设置它将会生成一个警告。

用于:

参见