* Removed the need to supply a reason for a block.
authorÆvar Arnfjörð Bjarmason <avar@users.mediawiki.org>
Thu, 28 Apr 2005 02:51:22 +0000 (02:51 +0000)
committerÆvar Arnfjörð Bjarmason <avar@users.mediawiki.org>
Thu, 28 Apr 2005 02:51:22 +0000 (02:51 +0000)
RELEASE-NOTES
includes/SpecialBlockip.php
languages/Language.php

index b271a27..392ea43 100644 (file)
@@ -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:
index 5da520d..d5e58c6 100644 (file)
@@ -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
 
index a173a1f..d654fad 100644 (file)
@@ -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.
 <br />See [[Special:Ipblocklist|IP block list]] to review blocks.",