Seen locally:
20) MediaWiki\Tests\Storage\UndoIntegrationTest::testMcrUndoAction with data set "undoing multiple intermittent revisions" (array('line 1\n\nline 2\n\nline3', 'line 1\n\nvandalism\n\nline3', 'line 1\n\nmore vandalism\n\nline3', 'line 1\n\nmore vandalism\n\nl...ontent'), 'line 1\n\nline 2\n\nline3 content', 0, 2, false, 1, 2, 'false')
TypeError: MediaWiki\Extension\Translate\MessageLoading\MessageHandle::__construct(): Argument #1 ($title) must be of type MediaWiki\Linker\LinkTarget, null given, called in /var/www/html/w/extensions/Translate/src/HookHandler.php on line 871
/var/www/html/w/extensions/Translate/src/MessageLoading/MessageHandle.php:35
/var/www/html/w/extensions/Translate/src/HookHandler.php:871
/var/www/html/w/includes/HookContainer/HookContainer.php:127
/var/www/html/w/includes/HookContainer/HookRunner.php:1646
/var/www/html/w/includes/Actions/McrUndoAction.php:416
/var/www/html/w/tests/phpunit/integration/includes/Storage/UndoIntegrationTest.php:400(and more test cases fail similarly)
The test uses a DerivativeContext with no title set. This is allowed by the IContextSource interface, whose getTitle method is documented as returning Title|null, so the code in Translate's HookHandler should bail out when there's no title to avoid a TypeError.