https://bugzilla.wikimedia.org/show_bug.cgi?id=66896
--- Comment #3 from Philippe Verdy <[email protected]> --- "Please answer" to my own comment ? You want details but everything is in my comment 1. And you do not ask for more specific details. For now the "!important" tag in the max-width style for images is clearly a severe hack that breaks pages. We should never use these tags in CSS; simply because it is then impossible to design a page lyout that works correctly in BOTH the mobile view and the desktop view. The "!important" tag breaks every attempt to make something compatible between the two views. (The other tweak used in the mobile view is to force another box model from the standard content-box to the border-box **blindly** without knowing really on what it will apply on pages. These two tweaks in fact have severe consequences: some pages will NEVER work on the desktop virw, some other will NEVER work in the mobile view, and we are forced to duplicate wiki pages with a mobile version and a desktop version, a complete non-sense to maintain and an extra complexity as each view mode will require its own separate sets of templates) So all I can say is what I already summarized: (1) support max-width/max-height parameters for images and DON'T override them by the "!import" CSS tweak for the mobile view (at least provide a way so that this override can be disabled; it should be disabled completely if the image provides itself the max-width parameter in the Wiki source of the [[File:]] or [[Image:]] tag). (2) support extra sets of scaling factors (3) drop the "!important" tweaking tags in the site-wide CSS for the mobile view. These are effectively three things to changes but for the sam final purpose: creating pages that work correctly on mobile views, WITHOUT breaking the desktop view. As long as this does not work, everyone in wikimedia projects will continue designing for the desktop, and the mobile view will be unreadable/inaccessible, with broken layouts. You've still not asked anything else more precise, so what do you want I confirm? -- 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
