Revert mainpage part of r75347. Should go in its own method, with messages, proper...
authorChad Horohoe <demon@users.mediawiki.org>
Mon, 25 Oct 2010 14:41:13 +0000 (14:41 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Mon, 25 Oct 2010 14:41:13 +0000 (14:41 +0000)
includes/installer/Installer.php

index 5fe5cc3..be5d85f 100644 (file)
@@ -357,22 +357,6 @@ abstract class Installer {
                if( $status->isOK() ) {
                        LBFactory::enableBackend();
                }
-
-               
-               $titleobj = Title::newFromText( wfMsgNoDB( "mainpage" ) );
-               $article = new Article( $titleobj );
-               $newid = $article->insertOn( $installer->db );
-               $revision = new Revision( array(
-                       'page'      => $newid,
-                       'text'      => wfMsg( 'mainpagetext' ) . "\n\n" . wfMsgNoTrans( 'mainpagedocfooter' ),
-                       'comment'   => '',
-                       'user'      => 0,
-                       'user_text' => 'MediaWiki default',
-                       ) );
-               $revid = $revision->insertOn( $installer->db );
-               $article->updateRevisionOn( $installer->db, $revision );
-
-               return $status;
        }
 
        /**