Index: trunk/phase3/maintenance/language/messages.inc |
— | — | @@ -2102,6 +2102,7 @@ |
2103 | 2103 | 'blocklist-userblocks', |
2104 | 2104 | 'blocklist-tempblocks', |
2105 | 2105 | 'blocklist-addressblocks', |
| 2106 | + 'blocklist-rangeblocks', |
2106 | 2107 | 'blocklist-timestamp', |
2107 | 2108 | 'blocklist-target', |
2108 | 2109 | 'blocklist-expiry', |
Index: trunk/phase3/includes/specials/SpecialBlockList.php |
— | — | @@ -75,6 +75,7 @@ |
76 | 76 | wfMsg( 'blocklist-userblocks' ) => 'userblocks', |
77 | 77 | wfMsg( 'blocklist-tempblocks' ) => 'tempblocks', |
78 | 78 | wfMsg( 'blocklist-addressblocks' ) => 'addressblocks', |
| 79 | + wfMsg( 'blocklist-rangeblocks' ) => 'rangeblocks', |
79 | 80 | ), |
80 | 81 | 'flatlist' => true, |
81 | 82 | ), |
— | — | @@ -142,6 +143,9 @@ |
143 | 144 | if( in_array( 'addressblocks', $this->options ) ) { |
144 | 145 | $conds[] = "ipb_user != 0 OR ipb_range_end > ipb_range_start"; |
145 | 146 | } |
| 147 | + if( in_array( 'rangeblocks', $this->options ) ) { |
| 148 | + $conds[] = "ipb_range_end = ipb_range_start"; |
| 149 | + } |
146 | 150 | |
147 | 151 | # Check for other blocks, i.e. global/tor blocks |
148 | 152 | $otherBlockLink = array(); |
Index: trunk/phase3/languages/messages/MessagesEn.php |
— | — | @@ -3084,6 +3084,7 @@ |
3085 | 3085 | 'blocklist-userblocks' => 'Hide account blocks', |
3086 | 3086 | 'blocklist-tempblocks' => 'Hide temporary blocks', |
3087 | 3087 | 'blocklist-addressblocks' => 'Hide single IP blocks', |
| 3088 | +'blocklist-rangeblocks' => 'Hide range blocks', |
3088 | 3089 | 'blocklist-timestamp' => 'Timestamp', |
3089 | 3090 | 'blocklist-target' => 'Target', |
3090 | 3091 | 'blocklist-expiry' => 'Expires', |