Manual:$wgUseExternalDiffEngine

Details
Use external C++ diff engine (module  from the extensions package).