jenkins-bot has submitted this change and it was merged.

Change subject: Do not use OutputPage to output exceptions in Installer
......................................................................


Do not use OutputPage to output exceptions in Installer

Things don't seem entirely set up correctly with $wgOut's
title object, causing fatals. Seems easier just to output
the exceptions raw.

Bug: 61092
Change-Id: Ifbbe18accdd6abd93365ac041a7f708067d0cf02
---
M includes/Exception.php
1 file changed, 2 insertions(+), 1 deletion(-)

Approvals:
  Chad: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/includes/Exception.php b/includes/Exception.php
index 45b314d..e91a178 100644
--- a/includes/Exception.php
+++ b/includes/Exception.php
@@ -38,7 +38,8 @@
        function useOutputPage() {
                return $this->useMessageCache() &&
                        !empty( $GLOBALS['wgFullyInitialised'] ) &&
-                       !empty( $GLOBALS['wgOut'] );
+                       !empty( $GLOBALS['wgOut'] ) &&
+                       !defined( 'MEDIAWIKI_INSTALL' );
        }
 
        /**

-- 
To view, visit https://gerrit.wikimedia.org/r/112243
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ifbbe18accdd6abd93365ac041a7f708067d0cf02
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Brian Wolff <[email protected]>
Gerrit-Reviewer: Chad <[email protected]>
Gerrit-Reviewer: MarkAHershberger <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to