Manual:$wgUseExternalDiffEngine

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