Apparently, when viewing talk pages in the mobile version (or the app), potential TemplateStyles will not be applied to the "overlays container", which leads to rather strange outcomes in some cases. Obviously, there will always be templates on talk pages, so TemplateStyles must be applied also in the mobile view (and not just when continuing with "read as wiki page").
Random example: here the table is broken because of missing TemplateStyles
Developer notes
The talk overlay element with classes "content talk-section" needs to also add the class mw-parser-output
QA steps
- Visit https://en.m.wikipedia.beta.wmflabs.org/wiki/Talk:Test#Template_styles on mobile
- Verify the box is styled and floated to the right.
QA Results - Beta
AC | Status | Details |
---|---|---|
1 | ✅ | T251024#6766037 |