HomePhabricator

Version 1.2.1 (October 14, 2014)

Description

Version 1.2.1 (October 14, 2014)

Performance optimizations:

  • Sped-up calculateDiff() with linked region borders array instead of cycling through tokens
    • New option $wgWikEdDiffRepeatedDiff to turn off repeated diff refinement
      • Freed memory by undefining arrays
      • Optimized 'for' loops by precalculating termination values

        Bug fixes:
      • Fixed space highlighting breaking diff html
      • Fixed 'sentence' split regExp
      • Fixed sliding regExps
      • Removed double container from 'No change' message
      • Added UniCode support to clipDiffFragments() calculations

        Various:
      • Updated hook and hook handler to 'GenerateTextDiffBody'
      • Fragment container from <div> to <pre> for newline copying
      • Changed all comparison operators to strict
      • Added new regExp 'blankOnlyToken' for testing unique tokens
      • Removed HTML debug log
      • Made JavaScript highlight handler compatibel with wikEd diff JavaScript library

Change-Id: I4870272734ae2a01b3c5da77147c79027dc98815

Details

Provenance
CacycleAuthored on
Parents
rEWEF9e592ac241b1: Add translatable extension message
Branches
Unknown
Tags
Unknown
References
refs/changes/78/166578/1
ChangeId
I4870272734ae2a01b3c5da77147c79027dc98815