r98656 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r98655‎ | r98656 | r98657 >
Date:06:10, 2 October 2011
Author:aaron
Status:ok
Tags:
Comment:
Don't show 'autoblock disabled' for IP blocks
Modified paths:
  • /trunk/phase3/includes/specials/SpecialBlockList.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialBlockList.php
@@ -318,7 +318,7 @@
319319 if ( $row->ipb_create_account ) {
320320 $properties[] = $msg['createaccountblock'];
321321 }
322 - if ( !$row->ipb_enable_autoblock ) {
 322+ if ( $row->ipb_user && !$row->ipb_enable_autoblock ) {
323323 $properties[] = $msg['noautoblockblock'];
324324 }
325325
@@ -347,6 +347,7 @@
348348 'fields' => array(
349349 'ipb_id',
350350 'ipb_address',
 351+ 'ipb_user',
351352 'ipb_by',
352353 'ipb_reason',
353354 'ipb_timestamp',

Follow-up revisions

RevisionCommit summaryAuthorDate
r98752MFT r98578, r98598, r98656reedy12:51, 3 October 2011
r98762REL1_18 MFT r97806, r97895, r98193, r98194, r98237, r98502, r98656, r98707, r...reedy13:56, 3 October 2011

Status & tagging log