From: Ævar Arnfjörð Bjarmason Date: Thu, 28 Apr 2005 02:51:22 +0000 (+0000) Subject: * Removed the need to supply a reason for a block. X-Git-Tag: 1.5.0alpha1~97 X-Git-Url: http://git.cyclocoop.org/geomaker.php?a=commitdiff_plain;h=324bac85f6be328a38a82c82c4efc39fca5d4386;p=lhc%2Fweb%2Fwiklou.git * Removed the need to supply a reason for a block. --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index b271a27adf..392ea435e3 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -29,6 +29,7 @@ New exciting things! Need further work and testing... * It's now possible to invert the namespace selection at Special:Allpages and Special:Contributions * No longer using sorbs.net to check for open proxies by default. * What was $wgDisableUploads is now $wgEnableUploads, and should be set to true if one wishes to enable uploads. +* Supplying a reason for a block is no longer mandatory * ...and more! Need to merge: diff --git a/includes/SpecialBlockip.php b/includes/SpecialBlockip.php index 5da520d49b..d5e58c653b 100644 --- a/includes/SpecialBlockip.php +++ b/includes/SpecialBlockip.php @@ -165,12 +165,6 @@ class IPBlockForm { } - - if ( $this->BlockReason == '') { - $this->showForm( wfMsg( 'noblockreason' ) ); - return; - } - # Create block # Note: for a user block, ipb_address is only for display purposes diff --git a/languages/Language.php b/languages/Language.php index a173a1fc46..d654fad677 100644 --- a/languages/Language.php +++ b/languages/Language.php @@ -1424,7 +1424,6 @@ pages that were vandalized).", 'ipbreason' => 'Reason', 'ipbsubmit' => 'Block this user', 'badipaddress' => 'Invalid IP address', -'noblockreason' => 'You must supply a reason for the block.', 'blockipsuccesssub' => 'Block succeeded', 'blockipsuccesstext' => "\"$1\" has been blocked.
See [[Special:Ipblocklist|IP block list]] to review blocks.",