From: Tim Starling Date: Thu, 30 Apr 2009 05:28:02 +0000 (+0000) Subject: Commit master changes on all ajax requests. There's no reason that this should be... X-Git-Tag: 1.31.0-rc.0~41929 X-Git-Url: http://git.cyclocoop.org//%22javascript:ModifierStyle%28%27%22.%24id.%22%27%29/%22?a=commitdiff_plain;h=c2433e3be2084a1e7d20874ec5e9532d8a5ac48d;p=lhc%2Fweb%2Fwiklou.git 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. --- 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; }