Jump to content

Manual:$wgWikiDiff2MovedParagraphDetectionCutoff

From mediawiki.org
Miscellaneous settings: $wgWikiDiff2MovedParagraphDetectionCutoff
This setting controls the maximum number of paragraphs to compare before it bails out.
Introduced in version:1.30.0 (Gerrit change 357826; git #Ic010543)
Deprecated in version:1.34.0 (Gerrit change 511884; git #2eec9499)
Removed in version:Still in use
Allowed values:(integer)
Default value:0

Details

[edit]

Wikidiff2 supports detection of changes in moved paragraphs. Supported values:

  • 0 - detection of moved paragraphs is disabled
  • int > 0 - maximum number of paragraphs to compare
Number of paragraph comparisons is in O(n2). This setting is only effective if the wikidiff2 PHP / HHVM module is used as diffengine. See $wgExternalDiffEngine .