From: Angela Beesley Starling Date: Sat, 24 Apr 2004 12:46:17 +0000 (+0000) Subject: Adds the username of the blocking sysop as a variable to the blockedIPpage function... X-Git-Tag: 1.3.0beta1~284 X-Git-Url: https://git.cyclocoop.org/%7B%7B%20url_for%28?a=commitdiff_plain;h=a20029bb9320dd516663a7666aee883a7b570949;p=lhc%2Fweb%2Fwiklou.git 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. --- 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 ); }