HomePhabricator

Remove $wgServerName. Its only usage was for {{servername}}, and needed to be…

Description

Remove $wgServerName. Its only usage was for {{servername}}, and needed to be kept in sync with $wgServer in LocalSettings.
None of the 3 globals based on it changed if you set it in LocalSettings.

Note that all those !isset( $wgServerName ) in ApiTests were useless, since if not in LocalSettings it would be 'localhost', not null (as still are those !isset( $wgServer )).

Details

Committed
PlatonidesSep 29 2010, 3:47 PM
Parents
rSVN73949: Fight PHP Fatal error: Call to a member function attributes() on a non-object
Branches
Unknown
Tags
Unknown
ChangeId
None