Index: trunk/phase3/includes/installer/WebInstaller.php |
— | — | @@ -677,12 +677,10 @@ |
678 | 678 | * @param $status Status |
679 | 679 | */ |
680 | 680 | public function showStatusMessage( Status $status ) { |
681 | | - $text = $status->getWikiText(); |
682 | | - $this->output->addWikiText( |
683 | | - "<div class=\"config-message\">\n" . |
684 | | - $text . |
685 | | - "</div>" |
686 | | - ); |
| 681 | + $errors = array_merge( $status->getErrorsArray(), $status->getWarningsArray() ); |
| 682 | + foreach ( $errors as $error ) { |
| 683 | + call_user_func_array( array( $this, 'showMessage' ), $error ); |
| 684 | + } |
687 | 685 | } |
688 | 686 | |
689 | 687 | /** |