Manual:$wgServerName

From MediaWiki.org
Jump to navigation Jump to search

Other languages:
Deutsch • ‎English • ‎Nederlands • ‎català • ‎español • ‎français • ‎italiano • ‎polski • ‎português • ‎português do Brasil • ‎suomi • ‎русский • ‎اردو • ‎العربية • ‎فارسی • ‎中文 • ‎日本語 • ‎한국어
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)
Other settings: Alphabetical | By function

Note Note: 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. (eg, "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]