wiki.techinc.nl/tests/phpunit/includes/diff
Tim Starling 4014f56d73 Add SlotDiffRenderer::localizeDiff()
It makes sense for SlotDiffRenderer to localize the diffs that it
returns.

DifferenceEngine can't conveniently use this right now since it stores
all slot diffs concatenated together in a cache entry. It can't break
the string apart again to call the right SlotDiffRenderer on each
slot diff. So it assumes there must be a text diff in there somewhere
and calls TextDiffer over the whole thing.

EntitySchema does not have this problem and can benefit from this
method.

Bug: T342209
Change-Id: Ie06e100bb0e945de5dbe3dade14b2e6b706e078d
2023-07-20 10:09:42 +10:00
..
TextDiffer Add unified format 2023-07-19 12:38:18 +10:00
CustomDifferenceEngine.php Refactor calls to deprecated function Content::getNativeData() 2019-02-15 17:48:01 +00:00
DifferenceEngineSlotDiffRendererTest.php phpunit: Mass-replace setMethods with onlyMethods and adjust 2021-04-16 20:15:00 +02:00
DifferenceEngineTest.php Factor out TextDiffer hierarchy from TextSlotDiffRenderer 2023-07-19 12:38:18 +10:00
SlotDiffRendererTest.php Improve handling of diffs between incompatible content models 2023-06-23 19:09:59 +00:00
TextSlotDiffRendererTest.php Add SlotDiffRenderer::localizeDiff() 2023-07-20 10:09:42 +10:00