wiki.techinc.nl/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
..
Hook diff: Move SlotDiffRenderer::getTablePrefix() parts assembly up to DifferenceEngine 2023-06-26 11:28:59 +10:00
TextDiffer Restore DifferenceEngine::localiseLineNumbers() 2023-07-19 12:26:43 +02:00
DifferenceEngine.php Restore DifferenceEngine::localiseLineNumbers() 2023-07-19 12:26:43 +02:00
DifferenceEngineSlotDiffRenderer.php build: Update mediawiki/mediawiki-phan-config to 0.12.0 2022-10-08 15:45:42 +02:00
IncompatibleDiffTypesException.php Improve handling of diffs between incompatible content models 2023-06-23 19:09:59 +00:00
SlotDiffRenderer.php Add SlotDiffRenderer::localizeDiff() 2023-07-20 10:09:42 +10:00
TextSlotDiffRenderer.php Add SlotDiffRenderer::localizeDiff() 2023-07-20 10:09:42 +10:00
UnsupportedSlotDiffRenderer.php Reorg: Move HTML-related classes out of includes/ to Html/ 2023-02-16 20:40:01 +01:00