global $wgRequest, $wgSysopUserBans;
$wgOut->setPagetitle( htmlspecialchars( wfMsg( 'blockip' ) ) );
- $wgOut->addWikiText( htmlspecialchars( wfMsg( 'blockiptext' ) ) );
+ $wgOut->addWikiText( wfMsg( 'blockiptext' ) );
if($wgSysopUserBans) {
$mIpaddress = htmlspecialchars( wfMsg( 'ipadressorusername' ) );
}
-
- if ( $this->BlockReason == '') {
- $this->showForm( wfMsg( 'noblockreason' ) );
- return;
- }
-
# Create block
# Note: for a user block, ipb_address is only for display purposes