Per our slack conversation the lead paragraph doesn't appear at the top of many location pages.
e.g. https://en.m.wikipedia.org/wiki/Spain#/
Expected: the infobox should appear after the first paragraph.
This appears due to a p tag outputted by Template:Coords
<p><span style="font-size: small;"><span id="coordinates"><a href="/wiki/Geographic_coordinate_system" title="Geographic coordinate system">Coordinates</a>: <span class="nourlexpansion"><a class="external text mw-kartographer-link mw-kartographer-maplink" href="#/geohacklink/0"><span class="geo-default"><span class="geo-dms" title="Maps, aerial photos, and other data for this location"><span class="latitude">40°N</span> <span class="longitude">4°W</span></span></span><span class="geo-multi-punct"> / </span><span class="geo-nondefault"><span class="geo-dec" title="Maps, aerial photos, and other data for this location">40°N 4°W</span><span style="display:none"> / <span class="geo">40; -4</span></span></span></a></span></span></span> </p>
QA steps
- Visit Belgium on production (https://en.m.wikipedia.org/wiki/Belgium ) on mobile device. Confirm that the infobox is the first element on the screen (This confirms the bug exists in production and assumes we are testing before the change has rolled out)
- Visit the same page on beta cluster https://en.m.wikipedia.beta.wmflabs.org/wiki/Belgium and confirm the page begins with text about Belgium.
- Do the same for the production and beta cluster versions of Denmark and Slovakia.
QA Results
AC | Status | Details |
---|---|---|
1 | ✅ | T242447#5839365 |
2 | ✅ | T242447#5839365 |
3 | ✅ | T242447#5839365 |