r98978 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r98977‎ | r98978 | r98979 >
Date:02:44, 5 October 2011
Author:reedy
Status:ok
Tags:
Comment:
MFT r97291
Modified paths:
  • /branches/wmf/1.18wmf1/includes/Exception.php (modified) (history)

Diff [purge]

Index: branches/wmf/1.18wmf1/includes/Exception.php
@@ -150,7 +150,7 @@
151151 $line = $this->getLine();
152152 $message = $this->getMessage();
153153
154 - if ( isset( $wgRequest ) ) {
 154+ if ( isset( $wgRequest ) && !$wgRequest instanceof FauxRequest ) {
155155 $url = $wgRequest->getRequestURL();
156156 if ( !$url ) {
157157 $url = '[no URL]';

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r97291Don't attempt to get a request url from a FauxRequestdemon15:21, 16 September 2011

Status & tagging log