Jump to: navigation, search
General Settings: $wgServerName
The name of the server without the protocol.
Introduced in version: 1.3.8
Removed in version: 1.17.0 (r73950)
Allowed values: (string)
Default value: (dynamically created)

Other settings: Alphabetical | By Function

Details[edit | edit source]

The name of the server without the protocol or trailing slash. (eg, ""). See $wgServer for details about how it is calculated.

The syntax to get a website to answer on an IP is:

$wgServerName = "";
$wgServer = "{$wgProto}://{$wgServerName}";

See Also[edit | edit source]

Language: English  • français • 日本語 • português do Brasil • русский