手册:$wgServerName

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgServerName and the translation is 67% complete.

Other languages:
Deutsch • ‎English • ‎español • ‎français • ‎polski • ‎português do Brasil • ‎русский • ‎اردو • ‎فارسی • ‎中文 • ‎日本語 • ‎한국어
一般设置: $wgServerName
服务器名称,不包含协议。
引进版本:1.24.0
移除版本:仍在使用
允许的值:(字符串)
默认值:(动态创建)

注意 注意: 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.

详情

The name of the server without the protocol or trailing slash. (eg, "en.wikipedia.org"). It is automatically calculated based on $wgCanonicalServer. It should not be customized, and will generate a warning if set.

用于:

参见