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:
Andrew Garrett 2009-07-27 10:48:07 +00:00
parent d48514c133
commit c89fb0e608

View file

@ -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',