At a wiki where I have a long participation, we are looking at an issue of
bland 404 pages (following mislinks or maybe deleted redirects). The
interest is whether we could look to give the user an enhanced 404 which
tells them that the page doesn't exist, AND give the user a shortened
search result based on their landing url/page title. I am presuming that
there is some capability to construct such a page, though wondered whether
there is something in the greater wikiverse that someone has already done.