Watchlist can fail, with reports on fr.wiktionary (https://fr.wiktionary.org/wiki/Sp%C3%A9cial:Liste_de_suivi) or https://de.wikipedia.org/wiki/Spezial:Beobachtungsliste
Root cause
$pageTitle = $rc->getTitle(); in the getDiffHistLinks method can return null, a case not currently handled.
We still need to know what could trigger that and what to print instead.
Stacktrace
/srv/mediawiki/php-1.29.0-wmf.21/includes/linker/LinkRenderer.php:301
Argument 1 passed to MediaWiki\Linker\LinkRenderer::makeKnownLink() must implement interface MediaWiki\Linker\LinkTarget, null given
#0 /srv/mediawiki/php-1.29.0-wmf.21/includes/linker/LinkRenderer.php(301): MWExceptionHandler::handleError(integer, string, string, integer, array, array)
#1 /srv/mediawiki/php-1.29.0-wmf.21/includes/changes/EnhancedChangesList.php(724): MediaWiki\Linker\LinkRenderer->makeKnownLink(NULL, HtmlArmor, array, array)
#2 /srv/mediawiki/php-1.29.0-wmf.21/includes/changes/EnhancedChangesList.php(658): EnhancedChangesList->getDiffHistLinks(RCCacheEntry, array)
#3 /srv/mediawiki/php-1.29.0-wmf.21/includes/changes/EnhancedChangesList.php(742): EnhancedChangesList->recentChangesBlockLine(RCCacheEntry)
#4 /srv/mediawiki/php-1.29.0-wmf.21/includes/changes/EnhancedChangesList.php(106): EnhancedChangesList->recentChangesBlock()
#5 /srv/mediawiki/php-1.29.0-wmf.21/includes/specials/SpecialWatchlist.php(468): EnhancedChangesList->recentChangesLine(RecentChange, NULL, integer)
#6 /srv/mediawiki/php-1.29.0-wmf.21/includes/specialpage/ChangesListSpecialPage.php(1067): SpecialWatchlist->outputChangesList(Wikimedia\Rdbms\ResultWrapper, FormOptions)
#7 /srv/mediawiki/php-1.29.0-wmf.21/includes/specialpage/ChangesListSpecialPage.php(506): ChangesListSpecialPage->webOutput(Wikimedia\Rdbms\ResultWrapper, FormOptions)
#8 /srv/mediawiki/php-1.29.0-wmf.21/includes/specials/SpecialWatchlist.php(92): ChangesListSpecialPage->execute(NULL)
#9 /srv/mediawiki/php-1.29.0-wmf.21/includes/specialpage/SpecialPage.php(522): SpecialWatchlist->execute(NULL)
Example of watchlist causing the issue
https://hastebin.com/uvotahalor.sql (but can't repro)
See also
T143477: null argument passed to LinkRenderer::makeKnownLink()