mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-24 14:13:54 +00:00
Wrap the throttled warning in a warningbox div
Currently, the message informing that some actions have been disabled is quite impossible to notice at a first glance, since it's a bit confused with other form elements. However it actually is a warning and needs to be treated as that. Change-Id: I0d851333f8da200fb0b9b0c7d05ccd1f63e9e948
This commit is contained in:
parent
c411452ceb
commit
c7d87182b4
|
@ -518,9 +518,11 @@ class AbuseFilterViewEdit extends AbuseFilterView {
|
|||
);
|
||||
|
||||
$flags .= $out->parse(
|
||||
$this->msg( 'abusefilter-edit-throttled-warning' )
|
||||
->plaintextParams( $lang->commaList( $throttledActions ) )
|
||||
->text()
|
||||
Html::warningBox(
|
||||
$this->msg( 'abusefilter-edit-throttled-warning' )
|
||||
->plaintextParams( $lang->commaList( $throttledActions ) )
|
||||
->text()
|
||||
)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue