parent->getDBInstaller( $this->getVar( 'wgDBtype' ) ); $form = $installer->getSettingsForm( $this->parent ); $r = $this->parent->request; if ( $r->wasPosted() ) { $status = $form->submit(); if ( $status === false ) { return 'skip'; } elseif ( $status->isGood() ) { return 'continue'; } else { $this->parent->showStatusBox( $status ); } } $formHtml = $form->getHtml(); if ( $formHtml === false ) { return 'skip'; } $this->startForm(); $this->addHTML( $formHtml ); $this->endForm(); return null; } }