Fixes for r90105, r90193:
authorTim Starling <tstarling@users.mediawiki.org>
Thu, 16 Jun 2011 05:52:16 +0000 (05:52 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Thu, 16 Jun 2011 05:52:16 +0000 (05:52 +0000)
commitb4311ca022a0abec9c02e4f19c5803a6fc7659d3
tree9604b38be2fca4d952743fa40e3d797a94c85152
parent9420ff446e8e63bb3eb782e66369f43bdd9b4d2a
Fixes for r90105, r90193:
* Actually removed $wgProto.
* Per Aryeh's suggestions on the future of $wgServer: made $wgServer detection in DefaultSettings.php more permanent by merging it with the new code from r90105. This means that bug 14977 is properly fixed now.
* Require entry points to set up the autoloader before including DefaultSettings.php. Comments on bug 14977 indicate that at some point in the past, this may have broken something. Anything that breaks now should just be fixed, we need the autoloader. Tested the most common entry points.
* Since the detection code has moved from Installer to WebRequest, I also moved the relevant test file and updated the test. The function under test is now public static, so r90154 is superseded.
RELEASE-NOTES-1.18
includes/DefaultSettings.php
includes/WebRequest.php
includes/installer/Installer.php
tests/phpunit/includes/WebRequestTest.php [new file with mode: 0644]
tests/phpunit/includes/installer/InstallerTest.php [deleted file]