mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-09-23 18:28:20 +00:00
Minor fixes for r46557
* Don't show revisions in the examiner which can't be examined. * Fill out some forgotten interface messages.
This commit is contained in:
parent
f9c9c07ccf
commit
189d1fde40
|
@ -343,6 +343,8 @@ To load an existing filter, type its filter ID into the box below the edit textb
|
|||
'abusefilter-examine-match' => 'The filter matched this change.',
|
||||
'abusefilter-examine-nomatch' => 'The filter did not match this change.',
|
||||
'abusefilter-examine-syntaxerror' => 'The filter has invalid syntax',
|
||||
'abusefilter-examine-notfound' => 'The change you requested could not be found.',
|
||||
'abusefilter-examine-incompatible' => 'The change you requested is not supported by the Abuse Filter',
|
||||
);
|
||||
|
||||
/** Message documentation (Message documentation)
|
||||
|
|
|
@ -64,6 +64,10 @@ class AbuseFilterViewExamine extends AbuseFilterView {
|
|||
$counter = 1;
|
||||
|
||||
while ( $row = $dbr->fetchObject( $res ) ) {
|
||||
## Incompatible stuff.
|
||||
if ( !$row->rc_this_oldid && !in_array( $row->rc_log_action, array( 'move', 'newusers' ) ) )
|
||||
continue;
|
||||
|
||||
$rc = RecentChange::newFromRow( $row );
|
||||
$rc->counter = $counter++;
|
||||
$output .= $changesList->recentChangesLine( $rc, false );
|
||||
|
|
Loading…
Reference in a new issue