(used to just be able to take paramaters via a GET request like index.php?title=Special:Movepage&target=Page_to_move)
* Deprecated the {{msg:template}} syntax for referring to templates
* (bug 2151) The delete summary now includes editor name, if only one has edited the article.
+* (bug 2105) Fixed from argument to the PHP mail() function. A missing space could prevent sending mail with some versions of sendmail.
* ...and more!
$wgErrorString = '';
set_error_handler( 'mailErrorHandler' );
# added -f parameter, see PHP manual for the fifth parameter when using the mail function
- mail( $to, $subject, $body, $headers, "-f{$wgEmergencyContact}\n");
+ mail( $to, $subject, $body, $headers, " -f {$wgEmergencyContact}\n");
restore_error_handler();
if ( $wgErrorString ) {