r106355 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r106354‎ | r106355 | r106356 >
Date:18:58, 15 December 2011
Author:reedy
Status:ok
Tags:
Comment:
* (bug 33101) Viewing a User or User talk of username resembling IP ending with .xxx causes Internal error

Essentially a merge of r106354
Modified paths:
  • /branches/wmf/1.18wmf1/includes/Block.php (modified) (history)

Diff [purge]

Index: branches/wmf/1.18wmf1/includes/Block.php
@@ -1028,7 +1028,7 @@
10291029 # passed by some callers (bug 29116)
10301030 return null;
10311031
1032 - } elseif( in_array( $type, array( Block::TYPE_USER, Block::TYPE_IP, Block::TYPE_RANGE, null ) ) ) {
 1032+ } elseif( in_array( $type, array( Block::TYPE_USER, Block::TYPE_IP, Block::TYPE_RANGE ) ) ) {
10331033 $block = new Block();
10341034 $block->fromMaster( $fromMaster );
10351035

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r106354* (bug 33101) Viewing a User or User talk of username resembling IP ending w...reedy18:57, 15 December 2011

Status & tagging log