From a20029bb9320dd516663a7666aee883a7b570949 Mon Sep 17 00:00:00 2001 From: Angela Beesley Starling Date: Sat, 24 Apr 2004 12:46:17 +0000 Subject: [PATCH] Adds the username of the blocking sysop as a variable to the blockedIPpage function so [[special:emailuser/$4]] can be used in the block message. --- includes/EditPage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/EditPage.php b/includes/EditPage.php index 5cc8f1e13e..7a1b6fd96c 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -410,7 +410,7 @@ htmlspecialchars( $wgLang->recodeForEdit( $this->textbox1 ) ) . $link = "[[" . $wgLang->getNsText( Namespace::getUser() ) . ":{$name}|{$name}]]"; - $wgOut->addWikiText( wfMsg( "blockedtext", $link, $reason, $ip ) ); + $wgOut->addWikiText( wfMsg( "blockedtext", $link, $reason, $ip, $name ) ); $wgOut->returnToMain( false ); } -- 2.20.1