Pages which start with floated elements (i.e. elements which aren't supposed to be fully above the first paragraph) should show the paragraph first on mobile.
e.g. https://en.wikipedia.org/wiki/Enriched_uranium
Currently we only look for `table.infobox` & `div.infobox` (then if they have a parent of `.mw-stack` or `.collapsible`)
= Proposal
Currently we treat "infoboxes" as any element with the class infobox. With this change, infobox would be expanded to anything which contains a thumb class.
```lang=php
// Thumbnail images: .thumb, figure (Parsoid)
'.//*[contains(concat(" ",normalize-space(@class)," ")," thumb ")]',
'.//figure',
```
= QA steps
Using mobile site:
[x] Verify that the image on https://en.m.wikipedia.beta.wmflabs.org/wiki/Enriched_uranium appears below the first paragraph
[x] Exploratory testing. Try to find at least ten pages with infoboxes and images at the top of the page where text does not appear first. e.g. https://en.m.wikipedia.beta.wmflabs.org/wiki/Albert_Einstein would be a pass because of the text "undo" appearing at the top of the page.
== QA Results - Beta
| **AC** | **Status** | **Details** |
| ----- | ----- | ----- |
| 1 | :white_check_mark: | T258201#6411025 |
| 2 | :white_check_mark: | T258201#6411028 |