X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FDefaultSettings.php;h=f35715e8be265a9f04b567ca6b59590e308a70f6;hb=4d25eb68a57363dcb9e9be981d497cccf50a8c0b;hp=6ce9a669748207edcc73261a301c22535fb90776;hpb=1b86e6bb67708d24fce32b3940c926c8314dfcbf;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 6ce9a66974..f35715e8be 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -8301,6 +8301,20 @@ $wgUpdateRowsPerQuery = 100; */ $wgExternalDiffEngine = false; +/** + * wikidiff2 supports detection of changes in moved paragraphs. + * This setting controls the maximum number of paragraphs to compare before it bails out. + * Supported values: + * * 0: detection of moved paragraphs is disabled + * * int > 0: maximum number of paragraphs to compare + * Note: number of paragraph comparisons is in O(n^2). + * This setting is only effective if the wikidiff2 PHP/HHVM module is used as diffengine. + * See $wgExternalDiffEngine. + * + * @since 1.30 + */ +$wgWikiDiff2MovedParagraphDetectionCutoff = 0; + /** * Disable redirects to special pages and interwiki redirects, which use a 302 * and have no "redirected from" link.