@@ 285-288 (lines=4) @@ | ||
282 | } |
|
283 | ||
284 | if ( $this->fld_title || $this->fld_ids || $this->fld_details && $row->log_params !== '' ) { |
|
285 | if ( LogEventsList::isDeleted( $row, LogPage::DELETED_ACTION ) ) { |
|
286 | $vals['actionhidden'] = true; |
|
287 | $anyHidden = true; |
|
288 | } |
|
289 | if ( LogEventsList::userCan( $row, LogPage::DELETED_ACTION, $user ) ) { |
|
290 | if ( $this->fld_title ) { |
|
291 | ApiQueryBase::addTitleInfo( $vals, $title ); |
|
@@ 309-312 (lines=4) @@ | ||
306 | } |
|
307 | ||
308 | if ( $this->fld_user || $this->fld_userid ) { |
|
309 | if ( LogEventsList::isDeleted( $row, LogPage::DELETED_USER ) ) { |
|
310 | $vals['userhidden'] = true; |
|
311 | $anyHidden = true; |
|
312 | } |
|
313 | if ( LogEventsList::userCan( $row, LogPage::DELETED_USER, $user ) ) { |
|
314 | if ( $this->fld_user ) { |
|
315 | $vals['user'] = $row->user_name === null ? $row->log_user_text : $row->user_name; |
|
@@ 331-334 (lines=4) @@ | ||
328 | } |
|
329 | ||
330 | if ( ( $this->fld_comment || $this->fld_parsedcomment ) && isset( $row->log_comment ) ) { |
|
331 | if ( LogEventsList::isDeleted( $row, LogPage::DELETED_COMMENT ) ) { |
|
332 | $vals['commenthidden'] = true; |
|
333 | $anyHidden = true; |
|
334 | } |
|
335 | if ( LogEventsList::userCan( $row, LogPage::DELETED_COMMENT, $user ) ) { |
|
336 | if ( $this->fld_comment ) { |
|
337 | $vals['comment'] = $row->log_comment; |