includes/api/ApiQueryRecentChanges.php 1 location
|
@@ 355-360 (lines=6) @@
|
| 352 |
|
} else { |
| 353 |
|
$bitmask = 0; |
| 354 |
|
} |
| 355 |
|
if ( $bitmask ) { |
| 356 |
|
$this->addWhere( $this->getDB()->makeList( [ |
| 357 |
|
'rc_type != ' . RC_LOG, |
| 358 |
|
$this->getDB()->bitAnd( 'rc_deleted', $bitmask ) . " != $bitmask", |
| 359 |
|
], LIST_OR ) ); |
| 360 |
|
} |
| 361 |
|
} |
| 362 |
|
|
| 363 |
|
$this->token = $params['token']; |
includes/api/ApiQueryWatchlist.php 1 location
|
@@ 249-254 (lines=6) @@
|
| 246 |
|
} else { |
| 247 |
|
$bitmask = 0; |
| 248 |
|
} |
| 249 |
|
if ( $bitmask ) { |
| 250 |
|
$this->addWhere( $this->getDB()->makeList( [ |
| 251 |
|
'rc_type != ' . RC_LOG, |
| 252 |
|
$this->getDB()->bitAnd( 'rc_deleted', $bitmask ) . " != $bitmask", |
| 253 |
|
], LIST_OR ) ); |
| 254 |
|
} |
| 255 |
|
|
| 256 |
|
$this->addOption( 'LIMIT', $params['limit'] + 1 ); |
| 257 |
|
|