Index: trunk/extensions/AbuseFilter/Views/AbuseFilterViewEdit.php |
— | — | @@ -541,7 +541,7 @@ |
542 | 542 | 'type' => 'button', |
543 | 543 | 'id' => 'mw-abusefilter-warn-preview-button', |
544 | 544 | 'value' => wfMsg( 'abusefilter-edit-warn-preview' ) |
545 | | - ) + $readOnlyAttrib |
| 545 | + ) |
546 | 546 | ); |
547 | 547 | $editButton = Xml::element( |
548 | 548 | 'input', |
— | — | @@ -549,7 +549,7 @@ |
550 | 550 | 'type' => 'button', |
551 | 551 | 'id' => 'mw-abusefilter-warn-edit-button', |
552 | 552 | 'value' => wfMsg( 'abusefilter-edit-warn-edit' ) |
553 | | - ) + $readOnlyAttrib |
| 553 | + ) |
554 | 554 | ); |
555 | 555 | $previewHolder = Xml::element( |
556 | 556 | 'div', |