+ if ( !$user->pingLimiter( 'purge' ) ) {
+ $page->doPurge(); // Directly purge and skip the UI part of purge().
+ $r['purged'] = true;
+ } else {
+ $error = $this->parseMsg( array( 'actionthrottledtext' ) );
+ $this->setWarning( $error['info'] );
+ }