Index: trunk/phase3/includes/installer/CoreInstaller.php |
— | — | @@ -444,13 +444,12 @@ |
445 | 445 | try { |
446 | 446 | $titleobj = Title::newFromText( wfMsgForContent( "mainpage" ) ); |
447 | 447 | $article = new Article( $titleobj ); |
448 | | - $text = wfMsgForContent( 'mainpagetext' ) . "\n\n" . |
449 | | - wfMsgForContent( 'mainpagedocfooter' ); |
450 | | - $article->doEdit( $text, '', EDIT_NEW, false, |
451 | | - User::newFromName( 'MediaWiki Default' ) ); |
452 | | - $u = new SearchUpdate( $titleobj->getArticleID(), |
453 | | - $titleobj->getPrefixedDBkey(), $text ); |
454 | | - $u->doUpdate(); |
| 448 | + $article->doEdit( wfMsgForContent( 'mainpagetext' ) . "\n\n" . |
| 449 | + wfMsgForContent( 'mainpagedocfooter' ), |
| 450 | + '', |
| 451 | + EDIT_NEW, |
| 452 | + false, |
| 453 | + User::newFromName( 'MediaWiki Default' ) ); |
455 | 454 | } catch (MWException $e) { |
456 | 455 | //using raw, because $wgShowExceptionDetails can not be set yet |
457 | 456 | $status->fatal( 'config-install-mainpage-failed', $e->getMessage() ); |