40 $this->cur = $this->
getRequest()->getInt(
'cur', $this->curRev->getId() );
43 $this->undoafter = $this->
getRequest()->getInt(
'restore' );
45 if ( $this->undo == 0 || $this->undoafter == 0 ) {
46 throw new ErrorPageError(
'mcrundofailed',
'mcrundo-missingparam' );
56 parent::alterForm( $form );
64class_alias( McrRestoreAction::class,
'McrRestoreAction' );
An error page which can definitely be safely rendered using the OutputPage.