Index: trunk/phase3/includes/SpecialBlockip.php |
— | — | @@ -43,6 +43,7 @@ |
44 | 44 | global $wgRequest; |
45 | 45 | |
46 | 46 | $this->BlockAddress = $wgRequest->getVal( 'wpBlockAddress', $wgRequest->getVal( 'ip', $par ) ); |
| 47 | + $this->BlockAddress = strtr( $this->BlockAddress, '_', ' ' ); |
47 | 48 | $this->BlockReason = $wgRequest->getText( 'wpBlockReason' ); |
48 | 49 | $this->BlockExpiry = $wgRequest->getVal( 'wpBlockExpiry', wfMsg('ipbotheroption') ); |
49 | 50 | $this->BlockOther = $wgRequest->getVal( 'wpBlockOther', '' ); |
Index: trunk/phase3/includes/SpecialIpblocklist.php |
— | — | @@ -44,7 +44,7 @@ |
45 | 45 | var $ip, $reason, $id; |
46 | 46 | |
47 | 47 | function IPUnblockForm( $ip, $id, $reason ) { |
48 | | - $this->ip = $ip; |
| 48 | + $this->ip = strtr( $ip, '_', ' ' ); |
49 | 49 | $this->id = $id; |
50 | 50 | $this->reason = $reason; |
51 | 51 | } |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -119,6 +119,8 @@ |
120 | 120 | * (bug 8673) Minor fix for web service API content-type header |
121 | 121 | * Fix API revision list on PHP 5.2.1; bad reference assignment |
122 | 122 | * (bug 8136) Introduce 'ArticleUndelete' hook; see docs/hooks.txt for more info |
| 123 | +* (bug 8688) Handle underscores/spaces in Special:Blockip and Special:Ipblocklist |
| 124 | + in a consistent manner |
123 | 125 | |
124 | 126 | == Languages updated == |
125 | 127 | |