follow up r69339: Add a missing setVaryCookie for consistency and to avoid user X...
authorMark A. Hershberger <mah@users.mediawiki.org>
Wed, 14 Jul 2010 21:00:09 +0000 (21:00 +0000)
committerMark A. Hershberger <mah@users.mediawiki.org>
Wed, 14 Jul 2010 21:00:09 +0000 (21:00 +0000)
includes/api/ApiQueryLogEvents.php

index 9209789..f0fd211 100644 (file)
@@ -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 );
                                }
                        }