mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-09-23 18:28:20 +00:00
Fix output for examine interface in cases where no edits are available
This commit is contained in:
parent
23ba2cb968
commit
903cd76bd8
|
@ -383,6 +383,7 @@ You can receive a full explanation by clicking the "Check Syntax" button.',
|
|||
'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',
|
||||
'abusefilter-examine-noresults' => 'No results were found for the search parameters you provided.',
|
||||
|
||||
// Top navigation interface
|
||||
'abusefilter-topnav' => "'''Abuse Filter navigation'''",
|
||||
|
|
|
@ -67,7 +67,9 @@ class AbuseFilterViewExamine extends AbuseFilterView {
|
|||
|
||||
$pager = new AbuseFilterExaminePager( $this, $changesList );
|
||||
|
||||
$output .= $pager->getNavigationBar() . $pager->getBody() . $pager->getNavigationBar();
|
||||
$output .= $pager->getNavigationBar() .
|
||||
$pager->getBody() .
|
||||
$pager->getNavigationBar();
|
||||
|
||||
$output .= $changesList->endRecentChangesList();
|
||||
|
||||
|
@ -249,4 +251,8 @@ class AbuseFilterExaminePager extends ReverseChronologicalPager {
|
|||
function getTitle() {
|
||||
return $this->mPage->getTitle( 'examine' );
|
||||
}
|
||||
|
||||
function getEmptyBody() {
|
||||
return wfMsgExt( 'abusefilter-examine-noresults', 'parse' );
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue