Index: trunk/phase3/includes/SpecialIpblocklist.php |
— | — | @@ -177,8 +177,14 @@ |
178 | 178 | global $wgOut, $wgUser, $wgLang, $wgContLang; |
179 | 179 | |
180 | 180 | if( $this->ip != '' ) { |
181 | | - if( stristr( $block->mAddress, $this->ip ) == false ) { |
182 | | - return; |
| 181 | + if( $block->mAuto ) { |
| 182 | + if( stristr( $block->mId, $this->ip ) == false ) { |
| 183 | + return; |
| 184 | + } |
| 185 | + } else { |
| 186 | + if( stristr( $block->mAddress, $this->ip ) == false ) { |
| 187 | + return; |
| 188 | + } |
183 | 189 | } |
184 | 190 | } |
185 | 191 | |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -70,6 +70,7 @@ |
71 | 71 | $wgFilterRobotsWL = true. |
72 | 72 | * (bug 2885) More PHP 5.1 fixes: skin, search, log, undelete |
73 | 73 | * Fix interlanguage links on special pages when extra namespaces configured |
| 74 | +* IP privacy fix for blocklist search on autoblocks |
74 | 75 | |
75 | 76 | |
76 | 77 | === Caveats === |