Index: trunk/phase3/includes/specials/SpecialBlockList.php |
— | — | @@ -265,6 +265,7 @@ |
266 | 266 | 'blocklist-nousertalk', |
267 | 267 | 'unblocklink', |
268 | 268 | 'change-blocklink', |
| 269 | + 'infiniteblock', |
269 | 270 | ); |
270 | 271 | $msg = array_combine( $msg, array_map( 'wfMessage', $msg ) ); |
271 | 272 | } |
— | — | @@ -300,7 +301,9 @@ |
301 | 302 | break; |
302 | 303 | |
303 | 304 | case 'ipb_expiry': |
304 | | - $formatted = $wgLang->timeanddate( $value ); |
| 305 | + $formatted = $value == Block::infinity() |
| 306 | + ? $msg['infiniteblock'] |
| 307 | + : $wgLang->timeanddate( $value ); |
305 | 308 | if( $wgUser->isAllowed( 'block' ) ){ |
306 | 309 | if( $row->ipb_auto ){ |
307 | 310 | $links[] = $sk->linkKnown( |