* (bug 2223) Add unique index on user_name field to prevent duplicate accounts
[lhc/web/wiklou.git] / includes / SpecialMovepage.php
index 65708ea..39e5fac 100644 (file)
@@ -173,6 +173,11 @@ class MovePageForm {
                global  $wgUseSquid, $wgRequest;
                $fname = "MovePageForm::doSubmit";
                
+               if ( $wgUser->pingLimiter( 'move' ) ) {
+                       $wgOut->rateLimited();
+                       return;
+               }
+               
                # Variables beginning with 'o' for old article 'n' for new article
 
                $ot = Title::newFromText( $this->oldTitle );