From: Andrew Garrett Date: Wed, 4 Jun 2008 06:48:45 +0000 (+0000) Subject: Apply the rate-limiter to subpage moving X-Git-Tag: 1.31.0-rc.0~47177 X-Git-Url: http://git.cyclocoop.org/%22.%24match%5B1%5D.%22?a=commitdiff_plain;h=707a3926fa6e3fede01cde264c360b15f02915c6;p=lhc%2Fweb%2Fwiklou.git Apply the rate-limiter to subpage moving --- diff --git a/includes/SpecialMovepage.php b/includes/SpecialMovepage.php index 1135c0330d..812b97cd67 100644 --- a/includes/SpecialMovepage.php +++ b/includes/SpecialMovepage.php @@ -354,6 +354,12 @@ class MovePageForm { # Already did this one. continue; } + + if ( $wgUser->pingLimiter( 'move' ) ) { + // We've hit the rate limiter. + $extraOutput[] = wfMsg( 'actionthrottledtext' ); + break; + } $oldPage = Title::newFromRow( $row ); $newPageName = preg_replace(