setting to completely override server hostname
authorAntoine Musso <hashar@free.fr>
Fri, 11 May 2012 18:13:09 +0000 (11:13 -0700)
committerAntoine Musso <hashar@free.fr>
Tue, 26 Jun 2012 20:27:02 +0000 (22:27 +0200)
commit4d1324f47df62969a9ee2b69ce8ed02332aa93ce
tree8185ffa66de68ca8752f0f4b60abcfd886636466
parentc2979968b81f9e63d19942669e8c91601fcc9781
setting to completely override server hostname

Labs has instances hostnames forged in sequences which make them not
that much useful for human readable output. Labs does publish a
meaningful instance name as an env variable though, so we could use it
to get better output.

This patch introduce $wgOverrideHostname (default false) which when
set will override the hostname returned by wfHostname().

Change-Id: Ibdba007cc4025fa0b0ebef39b5669c32852a95a7
includes/DefaultSettings.php
includes/GlobalFunctions.php