Index: trunk/phase3/includes/installer/CoreInstaller.php |
— | — | @@ -442,8 +442,7 @@ |
443 | 443 | public function installMainpage( DatabaseInstaller &$installer ) { |
444 | 444 | $status = Status::newGood(); |
445 | 445 | try { |
446 | | - $titleobj = Title::newFromText( wfMsgForContent( "mainpage" ) ); |
447 | | - $article = new Article( $titleobj ); |
| 446 | + $article = new Article( Title::newMainPage() ); |
448 | 447 | $article->doEdit( wfMsgForContent( 'mainpagetext' ) . "\n\n" . |
449 | 448 | wfMsgForContent( 'mainpagedocfooter' ), |
450 | 449 | '', |