From 894f7a21dd70d3e98ec5bbe3689641671128682e Mon Sep 17 00:00:00 2001 From: "Mark A. Hershberger" Date: Wed, 14 Jul 2010 21:00:09 +0000 Subject: [PATCH] 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. --- includes/api/ApiQueryLogEvents.php | 1 + 1 file changed, 1 insertion(+) 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 ); } } -- 2.20.1