From: Mark A. Hershberger Date: Wed, 14 Jul 2010 21:00:09 +0000 (+0000) Subject: follow up r69339: Add a missing setVaryCookie for consistency and to avoid user X... X-Git-Tag: 1.31.0-rc.0~36142 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=894f7a21dd70d3e98ec5bbe3689641671128682e;p=lhc%2Fweb%2Fwiklou.git follow up r69339: Add a missing setVaryCookie for consistency and to avoid user X with skin Y getting the response marked up for skin B. --- diff --git a/includes/api/ApiQueryLogEvents.php b/includes/api/ApiQueryLogEvents.php index 9209789256..f0fd2119e5 100644 --- a/includes/api/ApiQueryLogEvents.php +++ b/includes/api/ApiQueryLogEvents.php @@ -284,6 +284,7 @@ class ApiQueryLogEvents extends ApiQueryBase { if ( $this->fld_parsedcomment ) { global $wgUser; + $this->getMain()->setVaryCookie(); $vals['parsedcomment'] = $wgUser->getSkin()->formatComment( $row->log_comment, $title ); } }