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:
Andrew Garrett 2009-01-29 23:04:06 +00:00
parent f9c9c07ccf
commit 189d1fde40
2 changed files with 6 additions and 0 deletions

View file

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

View file

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