r17491 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r17490‎ | r17491 | r17492 >
Date:13:21, 8 November 2006
Author:werdna
Status:old
Tags:
Comment:
(bug 7833) Fix regression causing 'autoblock disabled' to not appear where appropriate on Ipblocklist introduced in r17381.
Modified paths:
  • /trunk/phase3/includes/SpecialIpblocklist.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/SpecialIpblocklist.php
@@ -277,7 +277,7 @@
278278 if ( $block->mCreateAccount ) {
279279 $properties[] = $msg['createaccountblock'];
280280 }
281 - if (!$block->mEnableAutoblock && !$block->mAddress ) {
 281+ if (!$block->mEnableAutoblock && $block->mUser ) {
282282 $properties[] = $msg['noautoblockblock'];
283283 }
284284

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r17381Various fixes related to the blocking change re: autoblocks. On inserting an ...werdna13:24, 3 November 2006