mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-27 23:40:19 +00:00
Merge "Hide external changes in Special:AbuseFilter/examine"
This commit is contained in:
commit
592caf10b6
|
@ -217,7 +217,11 @@ class AbuseFilterExaminePager extends ReverseChronologicalPager {
|
|||
|
||||
function getQueryInfo() {
|
||||
$dbr = wfGetDB( DB_SLAVE );
|
||||
$conds = array( 'rc_user_text' => $this->mPage->mSearchUser );
|
||||
$conds = array(
|
||||
'rc_user_text' => $this->mPage->mSearchUser,
|
||||
'rc_type != ' . RC_EXTERNAL
|
||||
);
|
||||
|
||||
$startTS = strtotime( $this->mPage->mSearchPeriodStart );
|
||||
if ( $startTS ) {
|
||||
$conds[] = 'rc_timestamp>=' . $dbr->addQuotes( $dbr->timestamp( $startTS ) );
|
||||
|
|
Loading…
Reference in a new issue