Merge "Fix check for central wiki"

This commit is contained in:
jenkins-bot 2020-09-29 13:25:03 +00:00 committed by Gerrit Code Review
commit 261e551856

View file

@ -306,9 +306,9 @@ class SpecialAbuseLog extends AbuseFilterSpecialPage {
if ( self::canSeeDetails( $user ) ) {
$helpmsg = $this->getConfig()->get( 'AbuseFilterIsCentral' )
? $this->msg( 'abusefilter-log-search-filter-help' )
->params( AbuseFilter::GLOBAL_FILTER_PREFIX )->escaped()
: $this->msg( 'abusefilter-log-search-filter-help-central' )->escaped();
? $this->msg( 'abusefilter-log-search-filter-help-central' )->escaped()
: $this->msg( 'abusefilter-log-search-filter-help' )
->params( AbuseFilter::GLOBAL_FILTER_PREFIX )->escaped();
$formDescriptor['SearchFilter'] = [
'label-message' => 'abusefilter-log-search-filter',
'type' => 'text',