Revert "ChangesListSpecialPage: Make maximum limit consistent (1000)"
authorKosta Harlan <kharlan@wikimedia.org>
Thu, 13 Dec 2018 19:41:04 +0000 (19:41 +0000)
committerCatrope <roan@wikimedia.org>
Thu, 13 Dec 2018 19:45:29 +0000 (19:45 +0000)
This reverts commit ac2837c9b3ed8a7f242b371d072b75880f29f4e7.

Reason for revert: See T210897#4821559

Bug: T210897
Change-Id: Ifb6debe3eaddb4a2cb62ace5cfea59c06e77d141

includes/specialpage/ChangesListSpecialPage.php

index 1bb995a..4201f80 100644 (file)
@@ -1279,7 +1279,7 @@ abstract class ChangesListSpecialPage extends SpecialPage {
                        $this->getOutput()->redirect( $this->getPageTitle()->getCanonicalURL( $query ) );
                }
 
-               $opts->validateIntBounds( 'limit', 0, 1000 );
+               $opts->validateIntBounds( 'limit', 0, 5000 );
                $opts->validateBounds( 'days', 0, $this->getConfig()->get( 'RCMaxAge' ) / ( 3600 * 24 ) );
        }