$fauxReqArr['wlowner'] = $params['wlowner'];
}
if ( !is_null( $params['wltoken'] ) ) {
+ // Don't cache tokens
+ $this->getMain()->setCachePrivate();
+
$fauxReqArr['wltoken'] = $params['wltoken'];
}
if ( !is_null( $params['summary'] ) ) {
$result_array['parsedsummary'] = array();
+ $this->getMain()->setVaryCookie();
$result->setContent( $result_array['parsedsummary'], $wgUser->getSkin()->formatComment( $params['summary'], $titleObj ) );
}
if ( isset( $prop['headitems'] ) || isset( $prop['headhtml'] ) ) {
$out = new OutputPage;
$out->addParserOutputNoText( $p_result );
+ $this->getMain()->setVaryCookie();
$userSkin = $wgUser->getSkin();
}
if ( $fld_parsedcomment ) {
global $wgUser;
+ $this->getMain()->setVaryCookie();
$rev['parsedcomment'] = $wgUser->getSkin()->formatComment( $row->ar_comment, $title );
}
if ( $fld_minor && $row->ar_minor_edit == 1 ) {
if ( isset( $prop['parsedcomment'] ) ) {
global $wgUser;
+ $this->getMain()->setVaryCookie();
$vals['parsedcomment'] = $wgUser->getSkin()->formatComment( $row->pt_reason, $title );
}
if ( $this->fld_parsedcomment && isset( $row->rc_comment ) ) {
global $wgUser;
+ $this->getMain()->setVaryCookie();
$vals['parsedcomment'] = $wgUser->getSkin()->formatComment( $row->rc_comment, $title );
}
if ( $this->fld_parsedcomment ) {
global $wgUser;
+ $this->getMain()->setVaryCookie();
$vals['parsedcomment'] = $wgUser->getSkin()->formatComment( $comment, $title );
}
}
if ( $this->fld_parsedcomment ) {
global $wgUser;
+ $this->getMain()->setVaryCookie();
$vals['parsedcomment'] = $wgUser->getSkin()->formatComment( $row->rev_comment, $title );
}
}
if ( $this->fld_parsedcomment && isset( $row->rc_comment ) ) {
global $wgUser;
+ $this->getMain()->setVaryCookie();
$vals['parsedcomment'] = $wgUser->getSkin()->formatComment( $row->rc_comment, $title );
}