https://bugzilla.wikimedia.org/show_bug.cgi?id=64516
Jon <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |INVALID --- Comment #11 from Jon <[email protected]> --- Hi Philippe, with no disrespect, I don't think you truly understand the scale of the problem here and you make many assumptions. Let me try to elaborate. Inline styles cannot be easily overridden without resorting to !important. The !important style specifier is the only way to override them. This is why the rule is specified in a file called hacks.less: http://git.wikimedia.org/blob/mediawiki%2Fextensions%2FMobileFrontend/8d9184c2d4af6e460ccea44be32b88db6565afc7/less%2Fcommon%2Fhacks.less (it's in a file called hacks.less as it _is_ a hack and we know this. Your comment about "lazy programmers" doesn't endear me to you :-) - especially given research has been ongoing in the form of an RFC to research this that I added above. As stated above the real problem here is you cannot target different styles at both mobile and desktop browsers. https://www.mediawiki.org/wiki/Requests_for_comment/Allow_styling_in_templates Please help me get the above RFC resolved so we can remove these hacks - which trust me we want to. Without these hacks various other templates look terrible on mobile. I am going to create a new bug which tries to detail all of these issues. I agree the old bug was messy but by the same evaluation this is equally messy and does not show the full story. I will comment on this bug with the new bug number. In terms of tablets - the hack rule doesn't apply to them. We've been working on tablet styling which should be pushed to all users very soon. This restricts this hack to mobile browsers with a screen less than 320px. -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
