As a reader, I want to be able to easily scan the search result page to easily locate the information I am looking for.
This is part of the UI improvements epic https://phabricator.wikimedia.org/T306626
This ticket is to add article thumbnails next to each article result. Thumbnails can provide a visual anchor on a text heavy page and assist in locating an article. This only applies to article namespaces and files namespaces (which already show a thumbnail right now).
See the discussion happening on this [[ https://phabricator.wikimedia.org/T307034#7942787 | spike ticket ]] More details will be added here once everyone had a chance to review the discussion and share their thoughts.
This is a **desktop only** requirement
Only article and file namespace has thumbnails while the rest of the namespace will not have thumbnails.
**Note:** Examen the handling of NSFW/explicit images used in the Go bar and determine if that solution works here and is appropriate
**Note:** From @matthiasmullie: Need to check on thumbnails for file namespace; I seem to recall that thumbs are only generated for article namespace for pretty much every wiki. We may be able to fetch image data for file namespace as well via another way, though, but that too could be a little more complex with instantcommons vs local results.
**Note:** We need to consider how to display thumbnails for results in other language wikis (e.g. like in T309745)
**Note:** As per feedback from community, people would like to be able to hide thumbnails with user CSS. Requirements: Give the thumbnail a specific CSS class that they can target and hide