Index: branches/wmf/1.17wmf1/includes/specials/SpecialIpblocklist.php |
— | — | @@ -450,6 +450,13 @@ |
451 | 451 | # Prepare links to the blocker's user and talk pages |
452 | 452 | $blocker_id = $block->getBy(); |
453 | 453 | $blocker_name = $block->getByName(); |
| 454 | + |
| 455 | + # WMF patch as above |
| 456 | + if ( IP::isIPAddress( $blocker_name ) ) { |
| 457 | + $blocker_name = '(steward)'; |
| 458 | + } |
| 459 | + # End patch |
| 460 | + |
454 | 461 | $blocker = $sk->userLink( $blocker_id, $blocker_name ); |
455 | 462 | $blocker .= $sk->userToolLinks( $blocker_id, $blocker_name ); |
456 | 463 | |
— | — | @@ -548,6 +555,12 @@ |
549 | 556 | # The last few lines of Title::secureAndSplit() tell the story. |
550 | 557 | foreach ( $this->mResult as $row ) { |
551 | 558 | $name = str_replace( ' ', '_', $row->ipb_by_text ); |
| 559 | + # WMF patch for privacy leak in 1.18 CentralAuth -- TS 2011-09-29 |
| 560 | + if ( IP::isIPAddress( $name ) ) { |
| 561 | + $name = '(steward)'; |
| 562 | + } |
| 563 | + # End patch |
| 564 | + |
552 | 565 | $lb->add( NS_USER, $name ); |
553 | 566 | $lb->add( NS_USER_TALK, $name ); |
554 | 567 | $name = str_replace( ' ', '_', $row->ipb_address ); |