mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-24 06:03:49 +00:00
Fix for bug 19894, now preview and view/edit buttons for warning messages are no longer disabled for unprivileged users.
This commit is contained in:
parent
d48514c133
commit
c89fb0e608
|
@ -541,7 +541,7 @@ class AbuseFilterViewEdit extends AbuseFilterView {
|
|||
'type' => 'button',
|
||||
'id' => 'mw-abusefilter-warn-preview-button',
|
||||
'value' => wfMsg( 'abusefilter-edit-warn-preview' )
|
||||
) + $readOnlyAttrib
|
||||
)
|
||||
);
|
||||
$editButton = Xml::element(
|
||||
'input',
|
||||
|
@ -549,7 +549,7 @@ class AbuseFilterViewEdit extends AbuseFilterView {
|
|||
'type' => 'button',
|
||||
'id' => 'mw-abusefilter-warn-edit-button',
|
||||
'value' => wfMsg( 'abusefilter-edit-warn-edit' )
|
||||
) + $readOnlyAttrib
|
||||
)
|
||||
);
|
||||
$previewHolder = Xml::element(
|
||||
'div',
|
||||
|
|
Loading…
Reference in a new issue