In InitialiseSettings.php, the PageImages extension is enabled by default everywhere, and then disabled for Wikisource and Wikibooks, with a reference to T68455: Thumbnails for search results don't make sense for most projects. That task is from 2014 and obviously from a "different reality" than today – now Vector-2022 is default everywhere (or just about), and its search widget assumes PageImages is enabled. The result is that for Wikisource and Wikibooks projects, all search results (in the typeahead search) will just get the default "no image" thumbnail, and there may be ramifications for search engine display too.
There have been two requests to enable PageImages for Wikisource (T416800: Enable PageImages extension in bnwikisource and T362851: Enable PageImages extension in hewikisource), and there would probably be more if more communities knew about the possibility.
So I suggest just removing the disabling of PageImages for those projects entirely, which would have the bonus of simplifying the config for wmgUsePageImages in InitialiseSettings.php as well.
