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.
Currently we only look for table.infobox & div.infobox (then if they have a parent of .mw-stack or .collapsible)
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.
// Thumbnail images: .thumb, figure (Parsoid) './/*[contains(concat(" ",normalize-space(@class)," ")," thumb ")]', './/figure',
Using mobile site:
- Verify that the image on https://en.m.wikipedia.beta.wmflabs.org/wiki/Enriched_uranium appears below the first paragraph
- 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.