dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3b657c
)
Do not use OutputPage to output exceptions in Installer
author
Brian Wolff
<bawolff+wn@gmail.com>
Sat, 8 Feb 2014 19:03:50 +0000
(15:03 -0400)
committer
Brian Wolff
<bawolff+wn@gmail.com>
Sat, 8 Feb 2014 19:03:50 +0000
(15:03 -0400)
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
includes/Exception.php
patch
|
blob
|
history
diff --git
a/includes/Exception.php
b/includes/Exception.php
index
45b314d
..
e91a178
100644
(file)
--- a/
includes/Exception.php
+++ b/
includes/Exception.php
@@
-38,7
+38,8
@@
class MWException extends Exception {
function useOutputPage() {
return $this->useMessageCache() &&
!empty( $GLOBALS['wgFullyInitialised'] ) &&
- !empty( $GLOBALS['wgOut'] );
+ !empty( $GLOBALS['wgOut'] ) &&
+ !defined( 'MEDIAWIKI_INSTALL' );
}
/**