From: Ryan Schmidt Date: Mon, 25 Apr 2016 02:17:16 +0000 (-0700) Subject: Pass through errors creating the main page to the installer. X-Git-Tag: 1.31.0-rc.0~7123^2 X-Git-Url: https://git.cyclocoop.org/%28%28?a=commitdiff_plain;h=ccdd94dc84fe496963e75faac889321cfab46d33;p=lhc%2Fweb%2Fwiklou.git Pass through errors creating the main page to the installer. Right now, any errors from inserting the main page are silently ignored by the installer, causing it to report success even in case of failure. Let's fix that. Change-Id: I1da3aa076eefa212b5cc0f796a48f944e8c06fd2 --- diff --git a/includes/installer/Installer.php b/includes/installer/Installer.php index 3d1c8600bd..d747707ebe 100644 --- a/includes/installer/Installer.php +++ b/includes/installer/Installer.php @@ -1697,7 +1697,7 @@ abstract class Installer { wfMessage( 'mainpagedocfooter' )->inContentLanguage()->text() ); - $page->doEditContent( $content, + $status = $page->doEditContent( $content, '', EDIT_NEW, false,