https://bugzilla.wikimedia.org/show_bug.cgi?id=40033
--- Comment #1 from Krinkle <[email protected]> 2012-09-06 00:43:51 UTC --- We've had this discussion before but I think going doing it that way leads to duplication and outdated code. It is perfectly possible for code to work fine in both mobile and desktop. Only exceptional modules need to adapt their logic for module. And for those cases ResourceLoader already has the ability to serve mobile a special version built-in, and has had for a long time and it is about time we start using it. 'skinStyles' and 'skinScripts' (because essentially mobile is just a skin, eventually/ideally we might move to a situation where there is 1 consistent design across platform and the skin adapts itself, as opposed to being another skin class - but that's future talk). The vast majority of modules that just add a button or link or implement backend logic (not even a UI) need to just be loaded without having to be marked as "mobile compatible" because that principle will not scale and fail. When a module is encountered that is not mobile compatible, then file a bug report, so it will either be fixed or moved into a skin-specific module file that will naturally not be loaded in mobile skin. MobileFrontend can start properly using ResourceLoader already without needing anything else. Also, as said before, most "mobile" issues are not mobile issues. They are general issues affecting desktops and mobile the like. It is just that desktop users have somewhat gotten used to it. Table based layouts, hover-dependent interaction etc. etc. those are never good. Not on desktop (window sizes, accessibility, etc.) and not on mobile. For different reasons maybe but it doesn't need mobile specific treatment or labels. And solutions for those layouts must NOT be implemented in a "mobile" module, but in the general module. Things like gadgets, site scripts, user scripts and simple extensions that add a sidebar link or core modules that add table sorting etc. those need to be just loaded without needing any mobile label, as-is. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- 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
