Index: trunk/phase3/includes/installer/CoreInstaller.php |
— | — | @@ -440,11 +440,14 @@ |
441 | 441 | public function installMainpage( DatabaseInstaller &$installer ) { |
442 | 442 | $status = Status::newGood(); |
443 | 443 | try { |
444 | | - $titleobj = Title::newFromText( wfMsgNoDB( "mainpage" ) ); |
| 444 | + $titleobj = Title::newFromText( wfMsgForContent( "mainpage" ) ); |
445 | 445 | $article = new Article( $titleobj ); |
446 | | - $article->doEdit( wfMsg( 'mainpagetext' ) . "\n\n" . wfMsgNoTrans( 'mainpagedocfooter' ), |
| 446 | + $article->doEdit( wfMsgForContent( 'mainpagetext' ) . "\n\n" . |
| 447 | + wfMsgForContent( 'mainpagedocfooter' ), |
447 | 448 | '', |
448 | | - EDIT_NEW ); |
| 449 | + EDIT_NEW, |
| 450 | + false, |
| 451 | + User::newFromName( 'MediaWiki Default' ) ); |
449 | 452 | } catch (MWException $e) { |
450 | 453 | //using raw, because $wgShowExceptionDetails can not be set yet |
451 | 454 | $status->fatal( 'config-install-mainpage-failed', $e->getMessage() ); |