Index: SpecialIpblocklist.php
===================================================================
--- SpecialIpblocklist.php (revision 45304)
+++ SpecialIpblocklist.php (working copy)
@@ -49,13 +49,10 @@
# Inform the user of a successful unblock
# (No need to check permissions or locks here,
# if something was done, then it's too late!)
- if ( substr( $successip, 0, 1) == '#' ) {
- // A block ID was unblocked
- $ipu->showList( $wgOut->parse( wfMsg( 'unblocked-id', $successip ) ) );
- } else {
- // A username/IP was unblocked
- $ipu->showList( $wgOut->parse( wfMsg( 'unblocked', $successip ) ) );
- }
+ $wgOut->setPagetitle( wfMsg( 'unblockip' ) );
+ $text = wfMsgExt( 'unblockipsuccesstext', array( 'parse' ), $successip );
+ $wgOut->addHTML( $text );
+
} else {
# Just show the block list
$ipu->showList( '' );
Index: MessagesEn.php
===================================================================
--- MessagesEn.php (revision 45304)
+++ MessagesEn.php (working copy)
@@ -2574,6 +2574,8 @@
'blockipsuccesssub' => 'Block succeeded',
'blockipsuccesstext' => '[[Special:Contributions/$1|$1]] has been blocked.
See [[Special:IPBlockList|IP block list]] to review blocks.',
+'unblockipsuccesstext' => '[[Special:Contributions/$1|$1]] has been unblocked.
+See [[Special:IPBlockList|IP block list]] to review blocks.',
'ipb-edit-dropdown' => 'Edit block reasons',
'ipb-unblock-addr' => 'Unblock $1',
'ipb-unblock' => 'Unblock a username or IP address',