Merge "Replace deprecated OutputPage::parse/parseInline()"

This commit is contained in:
jenkins-bot 2018-10-29 21:56:41 +00:00 committed by Gerrit Code Review
commit 917895b92c
2 changed files with 5 additions and 7 deletions

View file

@ -301,12 +301,10 @@ class AbuseFilterViewEdit extends AbuseFilterView {
array_keys( $throttledActions )
);
$flags .= $out->parse(
Html::warningBox(
$this->msg( 'abusefilter-edit-throttled-warning' )
->plaintextParams( $lang->commaList( $throttledActions ) )
->text()
)
$flags .= Html::warningBox(
$this->msg( 'abusefilter-edit-throttled-warning' )
->plaintextParams( $lang->commaList( $throttledActions ) )
->parseAsBlock()
);
}
}

View file

@ -30,7 +30,7 @@ class GlobalAbuseFilterPager extends AbuseFilterPager {
case 'af_id':
return $lang->formatNum( intval( $value ) );
case 'af_public_comments':
return $this->getOutput()->parseInline( $value );
return $this->getOutput()->parseInlineAsInterface( $value );
case 'af_actions':
$actions = explode( ',', $value );
$displayActions = [];