No point doing it the hard way, ping r112591
authorNiklas Laxström <nikerabbit@users.mediawiki.org>
Tue, 6 Mar 2012 07:20:14 +0000 (07:20 +0000)
committerNiklas Laxström <nikerabbit@users.mediawiki.org>
Tue, 6 Mar 2012 07:20:14 +0000 (07:20 +0000)
includes/specials/SpecialUserlogin.php

index 5dbcf6d..761f1a7 100644 (file)
@@ -337,7 +337,7 @@ class LoginForm extends SpecialPage {
 
                $ip = $this->getRequest()->getIP();
                if ( $currentUser->isDnsBlacklisted( $ip, true /* check $wgProxyWhitelist */ ) ) {
-                       $this->mainLoginForm( $this->msg( 'sorbs_create_account_reason' )->text() . ' ' . $this->msg( 'parentheses' )->rawParams( htmlspecialchars( $ip ) )->escaped() );
+                       $this->mainLoginForm( $this->msg( 'sorbs_create_account_reason' )->text() . ' ' . $this->msg( 'parentheses', $ip )->escaped() );
                        return false;
                }