wiki.techinc.nl/includes/diff/Hook
Sam Wilson 1eb586013c diff: Add legend and tooltips to inline diff display
Add a legend at the top of the inline diff display, showing the
meanings of the colours of the inserted and deleted highlighting.
Also add the same text as tooltips on the highlighted elements.

The legend is added as part of a new area above the diff table
that can be modified via a new TextSlotDiffRendererTablePrefix
hook, so that extensions can add other buttons etc. there as
required.

This is a follow-up to the previous attempt, which added the
legend in DifferenceEngine::showDiff() and was called from
too many places. This patch moves it to be called in
DifferenceEngine::showDiffPage().

Bug: T324759
Change-Id: I2a3c67bcfa47313dee597e602a62073e4e298cd2
Follow-up: I6de30bf79eb5ac262285951792782b870d075e00
2023-05-31 15:43:28 +10:00
..
AbortDiffCacheHook.php
ArticleContentOnDiffHook.php
DifferenceEngineAfterLoadNewTextHook.php
DifferenceEngineLoadTextAfterNewContentIsLoadedHook.php
DifferenceEngineMarkPatrolledLinkHook.php
DifferenceEngineMarkPatrolledRCIDHook.php Fix various documentation related to null types (part II) 2022-03-08 23:45:31 +00:00
DifferenceEngineNewHeaderHook.php Remove hooks that use Revision objects 2021-04-30 17:28:20 +00:00
DifferenceEngineOldHeaderHook.php
DifferenceEngineOldHeaderNoOldRevHook.php
DifferenceEngineRenderRevisionAddParserOutputHook.php
DifferenceEngineRenderRevisionShowFinalPatrolLinkHook.php
DifferenceEngineShowDiffHook.php
DifferenceEngineShowDiffPageHook.php
DifferenceEngineShowDiffPageMaybeShowMissingRevisionHook.php
DifferenceEngineShowEmptyOldContentHook.php
DifferenceEngineViewHeaderHook.php
DiffToolsHook.php
NewDifferenceEngineHook.php Reorg: Namespace the Title class 2023-03-02 08:46:53 -05:00
TextSlotDiffRendererTablePrefixHook.php diff: Add legend and tooltips to inline diff display 2023-05-31 15:43:28 +10:00