From c2433e3be2084a1e7d20874ec5e9532d8a5ac48d Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Thu, 30 Apr 2009 05:28:02 +0000 Subject: [PATCH] Commit master changes on all ajax requests. There's no reason that this should be the responsibility of the callee. Causes annoying bugs when omitted. --- index.php | 1 + 1 file changed, 1 insertion(+) diff --git a/index.php b/index.php index 1aa59b70a7..1176e8c3b8 100644 --- a/index.php +++ b/index.php @@ -71,6 +71,7 @@ if( $wgUseAjax && $action == 'ajax' ) { require_once( $IP . '/includes/AjaxDispatcher.php' ); $dispatcher = new AjaxDispatcher(); $dispatcher->performAction(); + wfGetLBFactory()->commitMasterChanges(); $mediaWiki->restInPeace(); exit; } -- 2.20.1