Manual:$wgServerName

From mediawiki.org
Jump to navigation Jump to search
Other languages:
Deutsch • ‎English • ‎Nederlands • ‎Türkçe • ‎español • ‎français • ‎polski • ‎português • ‎português do Brasil • ‎русский • ‎中文 • ‎日本語
General Settings: $wgServerName
The name of the server without the protocol.
Introduced in version:1.24.0
Removed in version:still in use
Allowed values:(string)
Default value:(dynamically created)
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.

Details[edit]

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:

See also[edit]