Hide external changes in Special:AbuseFilter/examine

Doesn't make sense to have them in there.

Change-Id: I699641a017f03534cb82302a83025f0194a198fe
This commit is contained in:
Marius Hoch 2013-05-24 16:34:22 +02:00
parent 36d046d508
commit 841c7e0c9e

View file

@ -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 ) );