* @return string
*/
public function execute() {
- if ( $this->parent->request->wasPosted() ) {
- if ( $this->getVar( '_Environment' ) ) {
- return 'continue';
- }
+ if ( $this->parent->request->wasPosted() && $this->getVar( '_Environment' ) ) {
+ return 'continue';
}
- $this->parent->output->addWikiTextInterface( wfMessage( 'config-welcome' )->plain() );
+ $this->parent->output->addWikiTextAsInterface( wfMessage( 'config-welcome' )->plain() );
$status = $this->parent->doEnvironmentChecks();
if ( $status->isGood() ) {
$this->parent->output->addHTML( '<span class="success-message">' .
wfMessage( 'config-env-good' )->escaped() . '</span>' );
- $this->parent->output->addWikiTextInterface( wfMessage( 'config-copyright',
+ $this->parent->output->addWikiTextAsInterface( wfMessage( 'config-copyright',
SpecialVersion::getCopyrightAndAuthorList() )->plain() );
$this->startForm();
$this->endForm();