Jump to content

Manual:$wgWikidiff2Options

From mediawiki.org
Content handlers and storage: $wgWikidiff2Options
Options for wikidiff2
Introduced in version:1.41.0 (Gerrit change 936135; git #2ed4e600)
Removed in version:Still in use
Allowed values:Unspecified
Default value:[]

Details

Options for wikidiff2 :

  • useMultiFormat - (bool) Whether to use the wikidiff2_multi_format_diff() funtion if it is available. This temporarily defaults to false, during migration to the new code. It is available in wikidiff2 1.14+.

The following options are only effective if the wikidiff2_multi_format_diff() funtion is enabled. See README.md in wikidiff2 for details to:

  • numContextLines
  • changeThreshold
  • movedLineThreshold
  • maxMovedLines
  • maxWordLevelDiffComplexity
  • maxSplitSize
  • initialSplitThreshold
  • finalSplitThreshold

Also:

  • formatOptions - An array of format-specific overrides. The key may be "inline" or "table" and the value is an array with keys numContextLines, changeThreshold, etc.