X-Git-Url: https://git.cyclocoop.org/admin/?a=blobdiff_plain;f=includes%2FSpecialMovepage.php;h=39e5fac049014ee9f09a27feada34303fcf7982e;hb=b76be11a85418b32235eaec3fd42e3a0d9af83dc;hp=65708eafd27d846d957d552a2ab5d16fe6b7b377;hpb=6ad9f6942286dce36c4e48320bfb9d0349a707f1;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/SpecialMovepage.php b/includes/SpecialMovepage.php index 65708eafd2..39e5fac049 100644 --- a/includes/SpecialMovepage.php +++ b/includes/SpecialMovepage.php @@ -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 );