* Add way to get full input from stdin() without having to check the length
[lhc/web/wiklou.git] / index.php
index 1176e8c..4997f73 100644 (file)
--- a/index.php
+++ b/index.php
@@ -71,7 +71,6 @@ if( $wgUseAjax && $action == 'ajax' ) {
        require_once( $IP . '/includes/AjaxDispatcher.php' );
        $dispatcher = new AjaxDispatcher();
        $dispatcher->performAction();
-       wfGetLBFactory()->commitMasterChanges();
        $mediaWiki->restInPeace();
        exit;
 }
@@ -114,7 +113,7 @@ $mediaWiki->setVal( 'SquidMaxage', $wgSquidMaxage );
 $mediaWiki->setVal( 'UseExternalEditor', $wgUseExternalEditor );
 $mediaWiki->setVal( 'UsePathInfo', $wgUsePathInfo );
 
-$mediaWiki->initialize( $wgTitle, $wgArticle, $wgOut, $wgUser, $wgRequest );
+$mediaWiki->performRequestForTitle( $wgTitle, $wgArticle, $wgOut, $wgUser, $wgRequest );
 $mediaWiki->finalCleanup( $wgDeferredUpdateList, $wgOut );
 
 # Not sure when $wgPostCommitUpdateList gets set, so I keep this separate from finalCleanup