r35848 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r35847‎ | r35848 | r35849 >
Date:06:48, 4 June 2008
Author:werdna
Status:old
Tags:
Comment:
Apply the rate-limiter to subpage moving
Modified paths:
  • /trunk/phase3/includes/SpecialMovepage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/SpecialMovepage.php
@@ -354,6 +354,12 @@
355355 # Already did this one.
356356 continue;
357357 }
 358+
 359+ if ( $wgUser->pingLimiter( 'move' ) ) {
 360+ // We've hit the rate limiter.
 361+ $extraOutput[] = wfMsg( 'actionthrottledtext' );
 362+ break;
 363+ }
358364
359365 $oldPage = Title::newFromRow( $row );
360366 $newPageName = preg_replace(

Follow-up revisions

RevisionCommit summaryAuthorDate
r35897Revert r35848 per Brion's WONTFIX of bug 14536: "This would just mean that th...simetrical23:45, 4 June 2008

Status & tagging log