Remove $wgServerName. Its only usage was for {{servername}}, and needed to be kept...
authorPlatonides <platonides@users.mediawiki.org>
Wed, 29 Sep 2010 15:47:56 +0000 (15:47 +0000)
committerPlatonides <platonides@users.mediawiki.org>
Wed, 29 Sep 2010 15:47:56 +0000 (15:47 +0000)
commit3d408e8d5b660a1e3173c2122d22d1682f723d73
tree5d8de0e63f4faf59fa236bc46a13da4e560190d3
parent9f48e9e96542e34c508642b47a556ff5806b7412
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 )).
docs/distributors.txt
includes/DefaultSettings.php
includes/parser/Parser.php
maintenance/tests/parser/parserTest.inc
maintenance/tests/parser/parserTests.txt
maintenance/tests/phpunit/includes/api/ApiTest.php