Index: trunk/extensions/MetavidWiki/includes/MV_MetavidInterface/MV_Overlay.php |
— | — | @@ -886,8 +886,7 @@ |
887 | 887 | //clear cache for title: |
888 | 888 | //$nt->invalidateCache(); |
889 | 889 | //Article::onArticleEdit($nt); |
890 | | - global $wgDeferredUpdateList, $mediaWiki; |
891 | | - $mediaWiki->doUpdates( $wgDeferredUpdateList ); |
| 890 | + wfDoUpdates( 'commit' ); |
892 | 891 | //try again: |
893 | 892 | $newTitle = Title::newFromText($nt->getText(), MV_NS_MVD); |
894 | 893 | $na = new Article($newTitle); |