Daniel Friesen wrote:
Saying that inline styles are present on over 99% pages on en.wp is a logical fallacy. 99% of articles may have inline styles in their output but the only pages that are an actual issue are ones where the inline styles are in the content themselves not in embedded templates. If we have 1000 pages with 1 template and inline styles inside the template, then we only have to fix the one template. NOT the 1000 pages.
Don't underestimate template changes or bots.
I don't underestimate. Yes, you can make a mess and then clean it up. It doesn't make the process any more enjoyable. And the context was disabling (all) inline styling. My point was that currently that would break nearly every page in some way.
While you can put some styling into global pages, sometimes you need one particular element to be a different color or a different font weight or whatever. This flexibility can't be tossed out because it's inconvenient. As Brion noted, there's often _data_ stored in this styling (for example, a row can be highlighted in yellow and surrounding page text might reference this highlighting).
- We turn on inline style scrubbing in the beta of the __mobile
site__ (for those that don't know this is an opt in service [1] and won't effect anyone who has no opted in). We invite community members to join the beta and help us survey and fix the damage. Since the inline style scrubbing only applies to the beta - it's business as usual elsewhere. The desktop site is not effected in any way.
Have you found a page (any page) that doesn't use any inline styling? It sounds like you're suggesting breaking every page on the mobile site. It's trivial to strip all inline styling, but I can't imagine that will improve the mobile experience for anyone.
Selection of pages from Special:Random:
- https://en.wikipedia.org/wiki/Vic_Belsham - No explicit inline styles
Maybe we're not talking about the same thing, then? I see plenty of inline styling throughout the page source of this page. E.g., <table class="infobox vcard" style="width: 25em; font-size: 88%; line-height: 1.5em">
As far as I understand it, this is a conversation about stripping all inline styling, not just styling from the articles themselves. Which is what I think these examples are?
Back on point, I think nomobile is a good idea. People have been using multiple classes as a hack to force content to be rendered, even: https://bugzilla.wikimedia.org/show_bug.cgi?id=29157#c2.
MZMcBride