mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-09-24 10:48:17 +00:00
Merge "Replace deprecated OutputPage::parse/parseInline()"
This commit is contained in:
commit
917895b92c
|
@ -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()
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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 = [];
|
||||
|
|
Loading…
Reference in a new issue