r53802 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r53801‎ | r53802 | r53803 >
Date:10:48, 27 July 2009
Author:werdna
Status:deferred
Tags:
Comment:
Fix for bug 19894, now preview and view/edit buttons for warning messages are no longer disabled for unprivileged users.
Modified paths:
  • /trunk/extensions/AbuseFilter/Views/AbuseFilterViewEdit.php (modified) (history)

Diff [purge]

Index: trunk/extensions/AbuseFilter/Views/AbuseFilterViewEdit.php
@@ -541,7 +541,7 @@
542542 'type' => 'button',
543543 'id' => 'mw-abusefilter-warn-preview-button',
544544 'value' => wfMsg( 'abusefilter-edit-warn-preview' )
545 - ) + $readOnlyAttrib
 545+ )
546546 );
547547 $editButton = Xml::element(
548548 'input',
@@ -549,7 +549,7 @@
550550 'type' => 'button',
551551 'id' => 'mw-abusefilter-warn-edit-button',
552552 'value' => wfMsg( 'abusefilter-edit-warn-edit' )
553 - ) + $readOnlyAttrib
 553+ )
554554 );
555555 $previewHolder = Xml::element(
556556 'div',

Status & tagging log