Support empty string for wgEmergencyContact/wgPasswordSender
authorTimo Tijhof <krinklemail@gmail.com>
Mon, 31 Aug 2015 15:32:56 +0000 (17:32 +0200)
committerKrinkle <krinklemail@gmail.com>
Wed, 2 Sep 2015 12:10:18 +0000 (12:10 +0000)
commit583fdd54ad14d3b8a5efc57069f89474c9f8362e
tree65c8129081223912570db9778829a437c68b5640
parentfe1cd2e05d4d00ce0890caf8e7e32d51bceeb27c
Support empty string for wgEmergencyContact/wgPasswordSender

In previous versions, the installer often outputted the following
in the generated LocalSettings.php:
> $wgEmergencyContact = '';
> $wgPasswordSender = '';

While this case did not result in providing default values in recent
MediaWiki versions, the mail handling didn't cause an error.

As of MediaWiki 1.25, the error handling is more strict and these
values being empty causes a fatal error and breaks all outgoing mail.

Bug: T104142
Change-Id: Ibf1f857b2f250dac9b725aff8f442e08b8ecd5c9
RELEASE-NOTES-1.26
includes/Setup.php