parent->request; if ( $r->wasPosted() ) { $really = $r->getVal( 'submit-restart' ); if ( $really ) { $this->parent->reset(); } return 'continue'; } $this->startForm(); $s = Html::warningBox( wfMessage( 'config-help-restart' )->plain(), '', 'config-warning-box' ); $this->addHTML( $s ); $this->endForm( 'restart' ); return null; } }