includes/api/ApiQueryDeletedrevs.php 1 location
|
@@ 386-394 (lines=9) @@
|
| 383 |
|
} |
| 384 |
|
} |
| 385 |
|
|
| 386 |
|
if ( $fld_tags ) { |
| 387 |
|
if ( $row->ts_tags ) { |
| 388 |
|
$tags = explode( ',', $row->ts_tags ); |
| 389 |
|
ApiResult::setIndexedTagName( $tags, 'tag' ); |
| 390 |
|
$rev['tags'] = $tags; |
| 391 |
|
} else { |
| 392 |
|
$rev['tags'] = []; |
| 393 |
|
} |
| 394 |
|
} |
| 395 |
|
|
| 396 |
|
if ( $anyHidden && ( $row->ar_deleted & Revision::DELETED_RESTRICTED ) ) { |
| 397 |
|
$rev['suppressed'] = true; |
includes/api/ApiQueryLogEvents.php 1 location
|
@@ 346-354 (lines=9) @@
|
| 343 |
|
} |
| 344 |
|
} |
| 345 |
|
|
| 346 |
|
if ( $this->fld_tags ) { |
| 347 |
|
if ( $row->ts_tags ) { |
| 348 |
|
$tags = explode( ',', $row->ts_tags ); |
| 349 |
|
ApiResult::setIndexedTagName( $tags, 'tag' ); |
| 350 |
|
$vals['tags'] = $tags; |
| 351 |
|
} else { |
| 352 |
|
$vals['tags'] = []; |
| 353 |
|
} |
| 354 |
|
} |
| 355 |
|
|
| 356 |
|
if ( $anyHidden && LogEventsList::isDeleted( $row, LogPage::DELETED_RESTRICTED ) ) { |
| 357 |
|
$vals['suppressed'] = true; |
includes/api/ApiQueryRevisionsBase.php 1 location
|
@@ 245-253 (lines=9) @@
|
| 242 |
|
} |
| 243 |
|
} |
| 244 |
|
|
| 245 |
|
if ( $this->fld_tags ) { |
| 246 |
|
if ( $row->ts_tags ) { |
| 247 |
|
$tags = explode( ',', $row->ts_tags ); |
| 248 |
|
ApiResult::setIndexedTagName( $tags, 'tag' ); |
| 249 |
|
$vals['tags'] = $tags; |
| 250 |
|
} else { |
| 251 |
|
$vals['tags'] = []; |
| 252 |
|
} |
| 253 |
|
} |
| 254 |
|
|
| 255 |
|
$content = null; |
| 256 |
|
global $wgParser; |
includes/api/ApiQueryRecentChanges.php 1 location
|
@@ 544-552 (lines=9) @@
|
| 541 |
|
} |
| 542 |
|
} |
| 543 |
|
|
| 544 |
|
if ( $this->fld_tags ) { |
| 545 |
|
if ( $row->ts_tags ) { |
| 546 |
|
$tags = explode( ',', $row->ts_tags ); |
| 547 |
|
ApiResult::setIndexedTagName( $tags, 'tag' ); |
| 548 |
|
$vals['tags'] = $tags; |
| 549 |
|
} else { |
| 550 |
|
$vals['tags'] = []; |
| 551 |
|
} |
| 552 |
|
} |
| 553 |
|
|
| 554 |
|
if ( $this->fld_sha1 && $row->rev_sha1 !== null ) { |
| 555 |
|
if ( $row->rev_deleted & Revision::DELETED_TEXT ) { |
includes/api/ApiQueryUserContributions.php 1 location
|
@@ 435-443 (lines=9) @@
|
| 432 |
|
$vals['sizediff'] = intval( $row->rev_len - $parentLen ); |
| 433 |
|
} |
| 434 |
|
|
| 435 |
|
if ( $this->fld_tags ) { |
| 436 |
|
if ( $row->ts_tags ) { |
| 437 |
|
$tags = explode( ',', $row->ts_tags ); |
| 438 |
|
ApiResult::setIndexedTagName( $tags, 'tag' ); |
| 439 |
|
$vals['tags'] = $tags; |
| 440 |
|
} else { |
| 441 |
|
$vals['tags'] = []; |
| 442 |
|
} |
| 443 |
|
} |
| 444 |
|
|
| 445 |
|
if ( $anyHidden && $row->rev_deleted & Revision::DELETED_RESTRICTED ) { |
| 446 |
|
$vals['suppressed'] = true; |